Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a table with the following columns
Case#, Utilities, UtilityStatus
Each Case# has 4 utilites, let's call them A,B, C and D. Each utilities has the following status depending on current situation: complete and pending.
I want to have a measure that returns Complete if all 4 utilities are 'Complete' and Partial otherwise for each Case#
For illustration purposes:
Case# Utilities UtilityStatus
1111 A Complete
1111 B Complete
1111 C Complete
1111 D Complete
2222 A Complete
2222 B Complete
2222 C Pending
2222 D Complete
I want the measure to return Complete for 1111 & Partial for 2222
Solved! Go to Solution.
@Anonymous , Try like
Measure =
var _table = summarize(Table, Table[Case#], "_1", Count(Table[Utilities]) , "_2", countx(filter(Table, Table[UtilityStatus] ="Complete"),Table[Utilities]))
return
maxx(_table, if([_1] =[_2], "Complete", "Partial"))
or
Measure =
var _table = summarize(Table, Table[Case#], "_1", Count(Table[Utilities]) , "_2", countx(filter(Table, Table[UtilityStatus] ="Complete"),Table[Utilities]))
return
calculate( maxx(_table, if([_1] =[_2], "Complete", "Partial")), allexcept(Table, Table[Case#]))
@Anonymous , Try like
Measure =
var _table = summarize(Table, Table[Case#], "_1", Count(Table[Utilities]) , "_2", countx(filter(Table, Table[UtilityStatus] ="Complete"),Table[Utilities]))
return
maxx(_table, if([_1] =[_2], "Complete", "Partial"))
or
Measure =
var _table = summarize(Table, Table[Case#], "_1", Count(Table[Utilities]) , "_2", countx(filter(Table, Table[UtilityStatus] ="Complete"),Table[Utilities]))
return
calculate( maxx(_table, if([_1] =[_2], "Complete", "Partial")), allexcept(Table, Table[Case#]))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |