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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
RezaAzimi
Advocate I
Advocate I

SUM if with certain criteria

Hi all,

 

I have cost data for three pump motor components (stator, rotor and rotorcan) that I am working on. I want to plot the sum of standard unit cost for all of these three components (called motorstar hereafter) for each pump.  FYI some pumps the motorstar consists of stator and a rotor with shaft and hence no rotorcan. I made some measures that looks like this:

motorstar1.PNGmotorstar2.PNGmotorstar3.PNG

 

 

 

 

 

 

 

 

but I know that these measures are not calculating the results that I want because I see that the if function does not work as I thought and sometimes it only sum the value of one component and return the value of that component. So the main issue is that it only measures the cost of one component and not for two or three components. 

 

 

somebody who can help me on this?

1 ACCEPTED SOLUTION

I have fixed it 🙂

View solution in original post

4 REPLIES 4
austinsense
Impactful Individual
Impactful Individual

I see your formulas - are these calculated columns or measures?

Austin is VP Operations at PowerPivotPro and a professional self-service enthusiast 🙂

these are measures:)

They look like calculated columns

Austin is VP Operations at PowerPivotPro and a professional self-service enthusiast 🙂

I have fixed it 🙂

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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