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
Randomuser
New Member

Minif Statements in Power BI

Good Morning Power Bi Community,

 

I am moving for Excel to Power BI and am having trouble finding the formulas I want in the transition.

 

I currently am using an if-minif statement in excel below.  What type of formula would I need to use in a measure to get this result 

=IF(MINIFS(I:I,D: D,[@[OPTION_CATEGORY]])=[@Driver],[@Driver],0)

 

 

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

 

Select a dataset and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-juanli-msft
Community Support
Community Support

Hi @Randomuser

I use your formula in excel, but i can't make it clear.

7.png

According to this article, the last parameter should be a scalar, but you are using a column.

Could you share your screenshot about how this formula works in your excel?

Or could you give an example what resula you want to get using this formula?

 

Then I could work out how to translate these formula in Power BI.

 

Best Regards

Maggie

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.