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() ) )
Anonymous
6 years agoNot applicable
hi
I have two simple questions, how do I calculate what is described below.
Year value
2019 200
2018 100
2018 100
2019 200
2019 100
2018 50
The average year = 2019 is 166.67
Add up if Year = 2019 is 500
- Ashish_Mathur6 years agoSuper User
Hi,
Drag Year to the row labels of your visual. Write these measures
Total = SUM(Data[Value])
Average = AVERAGE(Data[Value])
Hope this helps.
- Anonymous6 years agoNot applicable
Thank you for the answer, with a formula like that do all of them count? What if only 2019 counted.
- Ashish_Mathur6 years agoSuper User
Hi,
Try it first and let me know if it does not meet your expectation.
- Anonymous6 years agoNot applicable
yes working