Forum Discussion
Find Duplicates from one table to another.
chrisv08 , With combine these two tables, or create year and location as common dimensions and join with them.
In any case have these two dimensions
Have these measures from two tables (or one table), with common Date/year Table
This Year = CALCULATE(sum('Table1'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])))
Last Year = CALCULATE(sum('Table2'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])-1))
Location Same = countx( Addcolumns(Summarize(Table, Table[Customer], Location[Location]) , "_1", [This Year]
, "_2", [Las year]) , if(not(isblank([_1])) && not(isblank([_2])) , [Customer], blank())
subtract from distinct count of location for changed location
similar approch like
I think this only calculates the amount of duplicates, would thi also show the actual customers that are duplicate. Like first and last name of each duplicate.