Forum Discussion
rmba22875
3 years agoFrequent Visitor
Identifying duplicates
We are currently trying to replicate some reporting we already do in excel and use Power BI instead and have hit a snag. Our data contains 2 identifying markers which we call Home and Away and make ...
FreemanZ
3 years agoSuper User
hi rmba22875
then you would need an index column, like:
column2 =
VAR _list =
CALCULATETABLE(
VALUES(TableName[Column1]),
ALL(TableName),
TableName[Index]<EARLIER(TableName[Index])
)
RETURN
IF(
RIGHT([Column1], 5)&"/"&LEFT([Column1], 5) IN _list,
"Duplicate"
)rmba22875
3 years agoFrequent Visitor
My Table has been made from a different query so am currently trying to add an index manually! hopefully once done this will work!