Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RM_1
Frequent Visitor

Get "less than or equal to" value from slicer

Hi,

 

Could you please help me with this challenge? I am trying to make a measure, which takes "less than or equal to" value, in this example: 36.82. I tried to use selected value with max function, but it always show max value from column, not the choosen one.

Capture.PNG

 

 

 

Thanks in advanced,

Rafal

1 ACCEPTED SOLUTION
TeigeGao
Solution Sage
Solution Sage

Hi @RM_1 ,

In your scenario, we can use the following DAX query: 

Measure =
CALCULATE ( MAX ( 'Table'[Column1] ), ALLSELECTED ( 'Table'[Column1] ) )

The result will like below: 

JpEF77W1tj.gif

Best Regards,

Teige

View solution in original post

3 REPLIES 3
TeigeGao
Solution Sage
Solution Sage

Hi @RM_1 ,

In your scenario, we can use the following DAX query: 

Measure =
CALCULATE ( MAX ( 'Table'[Column1] ), ALLSELECTED ( 'Table'[Column1] ) )

The result will like below: 

JpEF77W1tj.gif

Best Regards,

Teige

RM_1
Frequent Visitor

Hi,

I've got one another question regarding this case. I've got one table with 20 columns. Each column refers to one slicer. Is it possible to take different values from different columns by every slicer but from the same table? Right now, using formula: 

 

Measure = CALCULATE ( MAX ( 'Table'[Column1] ), ALLSELECTED ( 'Table'[Column1] ) )

 

I only can see the smallest one value, like this:

Untitled.jpg

 

Thank you,

Rafal

RM_1
Frequent Visitor

Thanks, it works properly! 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.