Forum Discussion
Anonymous
8 years agoNot applicable
comparing column row
so I've 2 different table both tables contains a column called invoice nr,( the tables contain more column such as date and so on) my goal is to create a measure (or something else that could do the...
- 8 years ago
Anonymous
Try this revision
Please see revised file as well
CalculatedTable = VAR temp = CALCULATETABLE ( EXCEPT ( VALUES ( InvoiceLineTESTv4[Invoice Nr] ), VALUES ( ExtractTESTv4[Invoice Nr] ) ), INTERSECT ( VALUES ( InvoiceLineTESTv4[Date] ), VALUES ( ExtractTESTv4[Date] ) ) ) RETURN GENERATE ( temp, CALCULATETABLE ( SELECTCOLUMNS ( InvoiceLineTESTv4, "Date", [Date], "Other Column1", [Other Column.1] ) ) )
Zubair_Muhammad
8 years agoCommunity Champion
Anonymous
So in above case what is the Final Output you desire?
Can you put final output in Table form?
Anonymous
8 years agoNot applicable
| output | |||||
| Invoice number | /amount table 1/ | /change rate table 1/ | /amount table 2/ | /change rate 2/ | /difference (amont table1-amount table 2)/ |
| 1002 | 20 | 1 | 25 | 1 | 5 |
| 1003 | 30 | 1 | 30 | ||
| Total of all difference 35 |
this would be the output