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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

MIN of Quick Measures excluding zeros

Hi All i'm failry new to Power BI and i think i'm complicating this one.

 

I have 18 x quick measures in 18 different tables named MAX1 to MAX18. Each of them can be zero or an integer number from 1 to 3 depending on my slicer selection of Yes or No.

 

I'm trying to set up a card with a formula that shows ZERO if the ALL of [MAX1] to [MAX18] equal zero. If one or more MAX measures are different to zero i'd like the MIN of [MAX1] to [MAX18] excluding the zeroes.

 

Each of the tables look like this:

 

Description (1 to 18)Category
Y1 to 3
N0

 

Been going around in circles since there's no MINIF function in DAX trying to set up filters, and using IF/AND and other functions that will onyl take two arguments so i'm getting nowhere.

 

Your help would be much appreciated.

 

Thanks in advance.

2 REPLIES 2
CheenuSing
Community Champion
Community Champion

Hi @Anonymous 

 

Can you upload sampledata, pbix to GoogleDirve / One Drive and share the link here to find a solution.

 

Cheers

 

CheenuSing

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!
Anonymous
Not applicable

Thank you CheenuSing I've managed to get aroundit with IF formulas. My only problem now is to view and make slicer selections on the report in the PowerBi app which is incredibly slow.....

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors