Forum Discussion
comparing column row
- 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] ) ) )
Anonymous
HI,
Please try this calculated table
From the Modelling Tab>>>New Table
CalculatedTable =
CALCULATETABLE (
EXCEPT (
VALUES ( InvoiceLineTESTv4[Invoice Nr] ),
VALUES ( ExtractTESTv4[Invoice Nr] )
),
INTERSECT ( VALUES ( InvoiceLineTESTv4[Date] ), VALUES ( ExtractTESTv4[Date] ) )
)Anonymous
Please see attached sample file as well
- Anonymous8 years agoNot applicable
#thank you so much Zubair_Muhammad
looks to work,
now the calculated table give me the result for all the column ( all the period)
but I need to be filtered by table calendar Testv4, how I can do that?
now I get as result the missing invoice number(I that is very good) but I would like to see the details of this invoice store in the table Invoice line testv4
in your example my question it is on the calculated table you got result invoice nr, but I would like have also other info as the date
- Zubair_Muhammad8 years agoCommunity Champion
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] ) ) )- Anonymous8 years agoNot applicable
thank you so much !