Solved! Go to Solution.
Hi Neil,
Ran into another similar issue.
First data set have several records and their monthly values, I need to create a new table where the new records are a function of previous records.
For example I have Record A and Record B, I need a new table with Record X (which is A - B) for all months.
I could do this based on earlier solution by creating 2 duplicate streams, transposing and joining them, however under formula I need to use a "WHERE CLAUSE" equivalent to identify A and B, and then write their resultant diff in new table.
What formula expression could be use is this case
Something like this is what I need to do ( [Value] where IN = 'A' - [Right_Value] where IN = 'B')
Thanks!
IN | 201804 | 201805 | 201806 | 201807 |
A | 74 | 52 | 46 | 77 |
B | 56 | 31 | 70 | 22 |
C | 71 | 66 | 32 | 52 |
D | 20 | 25 | 36 | 66 |
E | 57 | 42 | 65 | 40 |
OUT | 201804 | 201805 | 201806 | 201807 |
A-B | 18 | 21 | -24 | 55 |
C-(0.8D) | 55 | 46 | 3.2 | -0.8 |
D+E | 77 | 67 | 101 | 106 |
@mupad2008 The attached may work.
Hi Patrick, thanks for the fix. works perfectly in actual case.
Best!
User | Count |
---|---|
19 | |
14 | |
13 | |
9 | |
8 |