Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Need a dax to capture second higher slicer selection. In my case it is 100:
I know I can get selected value when single selection with:
SELECTEDVALUE('price table'[price max])
But how to get this with multiple ones?
I am gonna use it later to create sales measure to work on ranges selected on slicer
Solved! Go to Solution.
@Anonymous,
Change it as follows.
Measure =
MAXX (
FILTER (
ALLSELECTED ( 'price table'[price max] ),
'price table'[price max] < MAX ( 'price table'[price max] )
),
'price table'[price max]
)
+ 0
@Anonymous,
You may use measure below.
Measure =
MINX (
TOPN ( 2, VALUES ( 'price table'[price max] ), 'price table'[price max], DESC ),
'price table'[price max]
)
Thanks Sam,
I think I was not precise in my question. Your measure is working but not in all cases, which I had not mentioned before.
It works on total only.
Sorry for this. I hope you can help further.
How to do a measure to work in a matrix like this?:
An output should show the figures like those on red.
@Anonymous,
Change it as follows.
Measure =
MAXX (
FILTER (
ALLSELECTED ( 'price table'[price max] ),
'price table'[price max] < MAX ( 'price table'[price max] )
),
'price table'[price max]
)
+ 0
Perfect, Thanks!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.