Quantcast
Channel: BIRT Exchange Forum Feed
Viewing all articles
Browse latest Browse all 542

Comparing values in two tables

$
0
0
Suppose I have 2 simple tables based on 2 different datasets:

Table 1:
Date X1 Y1
Jan 10 20
Feb 30 40
Mar 50 60

Table 2:
Date X2 Y2
Jan 20 30
Feb 50 80
Mar 90 90


Is there a way to create a 3rd table, derived from table 1 and 2, of the form:

Date X Y
Jan 10 10
Feb 20 40
Mar 40 30

where the value of X=X2-X1, and the value of Y=Y2-Y1.

Viewing all articles
Browse latest Browse all 542

Trending Articles