Forum Discussion
webportal
10 years agoImpactful Individual
Create a running total using TOTALYTD
How can I create a running total using a measure with formula TOTALYTD?
In the formula below, Turnover YTD is using exactly the same fields in the matrix:
- Faturação (Turnover in english)
- Dia (Day)
Yes you are right. The value in the rows/columns should always be coming from the lookup table.
Hope it helped you to gain the understanding of DAX.
7 Replies
- BhaveshPatelSuper UserRunning Total:=CALCULATE (SUM ( Table[Column] ),FILTER (ALL ( 'Date'[Date] ),'Date'[Date] <= MAX ( 'Date'[Date] )))
- webportalImpactful Individual
Hi,
Thanks a lot for helping!
That should work, but it is returning exactly the same result.
Also, what is wrong in my formula?
- BhaveshPatelSuper User
Try replacing
SUM ( Table[Column] ) with
your YTD measure DAX Formula.