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
Hello,
Solved! Go to Solution.
Hi @madisonb
Please try this:
Here I create a measure for your reference:
MEASURE =
VAR _currentState =
SELECTEDVALUE ( 'Table'[State] )
VAR _MinRank =
CALCULATE (
MIN ( 'Table'[Rank] ),
FILTER ( ALLSELECTED ( 'Table' ), 'Table'[State] = _currentState )
)
RETURN
CALCULATE (
MAX ( 'Table'[High] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[State] = _currentState
&& 'Table'[Rank] = _MinRank
)
)
The result is as follow:
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @madisonb
Please try this:
Here I create a measure for your reference:
MEASURE =
VAR _currentState =
SELECTEDVALUE ( 'Table'[State] )
VAR _MinRank =
CALCULATE (
MIN ( 'Table'[Rank] ),
FILTER ( ALLSELECTED ( 'Table' ), 'Table'[State] = _currentState )
)
RETURN
CALCULATE (
MAX ( 'Table'[High] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[State] = _currentState
&& 'Table'[Rank] = _MinRank
)
)
The result is as follow:
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
This appears to be working perfectly! Thank you so much for your help!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 20 | |
| 12 | |
| 12 |