Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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
User | Count |
---|---|
17 | |
17 | |
14 | |
13 | |
13 |
User | Count |
---|---|
17 | |
14 | |
13 | |
10 | |
8 |