Forum Discussion
sv98917n
Helper I
6 years agoShow Duplicates With Respect To Page Slicer
Hello PowerBI Community, I am currently facing an issue with my duplicate ID flag. While the DAX flag works for the whole report, it does not show values in accordance with my [created_date] dat...
- 6 years ago
sv98917n , Try a measure like. It will depend on rows context
Duplicate Segment ID =
IF (COUNTROWS ( FILTER ( allselected(table1), table1[SEGMENT_ID] = max ( table1[SEGMENT_ID] ) ) ) >= 2, "YES", "NO" )
sv98917n
Helper I
6 years agoThe MAX made everything come back as "no" and when I made MAX, EARLIER, it gave me the original result.
amitchandak
Super User
6 years agosv98917n , try
maxx(summarize(table1,table1[SEGMENT_ID],"_1" , COUNTROWS(table1)),[_1]>= 2, "YES", "NO")
- sv98917n6 years ago
Helper I
I got the first version to work. Thank you!!!