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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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