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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
technicneo
Frequent Visitor

Select Max value from slicer even with blank values

Hi there,

following problem:
I have to create a dax formula, that retrieves me the max value when using a slicer.
The tricky part is, that when certain filters are applied to the data, the max value can be blank.
However, I need this value (even if it's blank) in order to continue with another calculation.

 

Is this even possible to compute?

2 REPLIES 2
AntonioHR_
Frequent Visitor

Hi,

 

I'm guessing you need it as a 0 to continue with the next measure? If not you could change the 0 for any value you want to use when is blank.

Measure= IF(ISBLANK(MAX(value)) = TRUE;  0 ; MAX(value))

Hi @AntonioHR_,

sadly it's a bit more complicated.

The return value should be the variable sliced value (however it does not contain any values), so I'm assuming, that an IF Statement isn't the propper operator in this case.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.