Forum Discussion
chrisread9907
9 years agoFrequent Visitor
SUMIF Function
Hi, I am struggling to covert my SUMIF Excel formula to DAX, This is my excel formula: =SUMIFS('Slave Data'!$E:$E,'Slave Data'!K:K,"=1",'Slave Data'!$B:$B,"="&$B10,'Slave Data'!L:L,"="&H1...
- Anonymous9 years ago
Sum of Duration = CALCULATE( SUM(SlaveData[duration]), FILTER( SlaveData, SlaveData[If Status Met] = 1 && SlaveData[slaveid] = 1 && Slavedata[datStart] = TODAY() ) )
Greg_Deckler
9 years agoCommunity Champion
I'm not super familiar with Excel's SUMIFS statement so you'd have to explain what your formula is doing. But, you *should* be able to replace it with a DAX equivalent, even if it just a bunch of IF statements.
- itchyeyeballs9 years agoImpactful Individual
have a look at this
http://www.powerpivotpro.com/2009/12/powerpivot-dax-calculate-is-a-supercharged-sumif/
and
http://www.powerpivotpro.com/2014/10/sum-sumx-or-calculatechoices-choices/
will be a good starting point