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.
Hi
I am trying to filter PA Status so it only calculates the values with the highest status
Table Status Sort (related table)
PA Status = SUM('Central Scada'[Available]) & " of " & SUM('Central Scada'[Installed])
The highest staus in this example is Red so the PA Status should be 3 of 4
Solved! Go to Solution.
Hi @zenton ,
Here are the steps you can follow:
1. Create measure.
PA Status =
var _highest=
MAXX(
FILTER(ALL('Table Status Sort'),
'Table Status Sort'[Sort]=MINX(ALL('Table Status Sort'),'Table Status Sort'[Sort])),[Status])
return
SUMX(
FILTER(ALL('Central Scada'),
'Central Scada'[Status]=_highest),[Available])
&" of "&
SUMX(
FILTER(ALL('Central Scada'),
'Central Scada'[Status]=_highest),[Installed])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @zenton ,
Here are the steps you can follow:
1. Create measure.
PA Status =
var _highest=
MAXX(
FILTER(ALL('Table Status Sort'),
'Table Status Sort'[Sort]=MINX(ALL('Table Status Sort'),'Table Status Sort'[Sort])),[Status])
return
SUMX(
FILTER(ALL('Central Scada'),
'Central Scada'[Status]=_highest),[Available])
&" of "&
SUMX(
FILTER(ALL('Central Scada'),
'Central Scada'[Status]=_highest),[Installed])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |