cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RezaAzimi
Helper I
Helper 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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors