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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Shales
Frequent Visitor

Power BI DAX equivalent of MINIFS in excel

Hi,

I only discovered the MINIFS function in Excel today, and instantly wondered if there was a Power BI DAX equivalent.

I have a quite basic excel formula of;

=MINIFS(A:A,B:B,B2)

Lets say A:A = Sub_ID & B:B = ID

I am trying to find the Min Sub_ID when there are more than 1 count of ID's

If there a DAX someone can help me with?

Thank you so much.

Gav

2 ACCEPTED SOLUTIONS
themistoklis
Community Champion
Community Champion

@Shales

 

You can tty the following Measure:

MIN_SUBID = CALCULATE(MIN('Table'[Sub_ID ]), ALLEXCEPT('Table', 'Table'[ID]))

 

 

Output:

 

image.png

View solution in original post

As simple as that hey : ) I was massively over thinking it. I have tried to "Accept the Solution" but it keeps saying Authenticity failed. I'll keep trying. Thank you Gav

View solution in original post

2 REPLIES 2
themistoklis
Community Champion
Community Champion

@Shales

 

You can tty the following Measure:

MIN_SUBID = CALCULATE(MIN('Table'[Sub_ID ]), ALLEXCEPT('Table', 'Table'[ID]))

 

 

Output:

 

image.png

As simple as that hey : ) I was massively over thinking it. I have tried to "Accept the Solution" but it keeps saying Authenticity failed. I'll keep trying. Thank you Gav

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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