Forum Discussion
DoubleTap
2 years agoNew Member
Need help finding duplicate Id's
I think i have a relatively easy ask but im going crazy. I have a table where i need to count the duplicate Id's. I create a simple count measure [ ID_Cnt=count(Id) ] then created another measure to ...
- 2 years ago
Duplicates = var aaa = ADDCOLUMNS(VALUES('Table'[ID]), "count id", CALCULATE(COUNT('Table'[ID]))) return IF( HASONEVALUE('Table'[ID]), SUMX(aaa, [count id]), SUMX(FILTER(aaa, [count id] > 1), [count id]) )EDIT - misread the requirements, have changed the calculation. The above is my attempt. I hope it helps!
Anonymous
2 years agoNot applicable
Hi DoubleTap ,
Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information and description to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng