Forum Discussion
alexcatala
Helper IV
2 years agoTotal Count cumulative pr year
Hi, I am trying to create a total cumulative count of stores per year and quarter. For some reason, it shows only the amount per year, but it doesn't add the previous figures. I have trie...
lukiz84
Memorable Member
2 years agotry ALL instead of ALLSELECTED
alexcatala
Helper IV
2 years agoHi lukiz84
I have tried and still gives me the same outcome
total =
CALCULATE (
COUNT ( d_StoresAuto[OpeningDate] ),
FILTER (
ALL ( d_StoresAuto[OpeningDate] ),
d_StoresAuto[OpeningDate] <= MAX ( d_DateTable[Date] )
)
)
Any other suggestions?