Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have data as shown belew
id | stage | status |
1 | a | complete |
1 | b | complete |
1 | b | not complete |
2 | a | complete |
2 | b | not complete |
I want to drop the duplicate rows based on stage and id columns but because they have different status and want to keep the one with "complete".
I have seen this measure but I don't know how to compare by stage too and how to make it keep specific value not the MIN
measure = SUMMARIZE(yourTablename, yourTablename[ID], "MinValue", MIN(yourTablename[status]) )
the result I expect
id | stage | status |
1 | a | complete |
1 | b | complete |
2 | a | complete |
2 | b | not complete |
Solved! Go to Solution.
thank you it worked but is there any way to apply it with measure
Hi @Anonymous ,
Yes,
try this code:
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
12 | |
10 | |
10 | |
6 |