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() ) )
chrisread9907
9 years agoFrequent Visitor
Thank you very much, how can i format this as a date to display it in a visual?
Anonymous
9 years agoNot applicable
Measure formatting is in the Modeling tab.
- chrisread99079 years agoFrequent Visitor
Sorry but the Date/Time option is greyed out?
- Anonymous9 years agoNot applicable
Then the value your measure is returning isn't a valid date. To be honest I'm not surprised; I don't see how a sum of durations would ever equal a calendar date. It doesn't make sense. What date is 5 hours 27 minutes + 3 days 8 hours 12 minutes, for instance?
- chrisread99079 years agoFrequent Visitor
Yes that is true, i was looking for a 24 hour clock displaying the total duaration.
My total durations will never go over 23:59
Even if both are formatted as number i get 'cant display the visual' error
- Sean9 years agoCommunity Champion
You probably need to add the duration to a date...