Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I am trying to use cumulative sum but I am not getting any results. I select a year and a month and the fields with the formula appear blank. I have values for all the fields..Can you help?
I have two formulas
cumulative sum=
cumulative sum 2=
Solved! Go to Solution.
Thank you but I already solve it. I had to create a date table in order to work.
Hi @Anonymous
Try the below.
cumulative sum=
CALCULATE (
SUM ( vwExecucaoMensalItem[BudgetPurchaseValue] );
FILTER (
ALL ( vwExecucaoMensalItem );
vwExecucaoMensalItem[Date] <= MAX ( vwExecucaoMensalItem[Date])
)
)
Regards,
Mariusz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I already try but it doesn't give the right results... 😕
Hi @Anonymous ,
If you can please share a pbix file with some sample data for test. It is hard to test without any detail information.
Regards,
Xiaoxin Sheng
Thank you but I already solve it. I had to create a date table in order to work.
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 31 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 73 | |
| 63 | |
| 44 | |
| 23 | |
| 22 |