Forum Discussion
KH11NDR
Helper IV
8 years agoHow do i create a calculated column or measure for totalling up another column as cumulative?
Hi Guys,
This is what I want to do, create another column or measure that calculates Total sales per month per project. My data is exactly how it is in the table without the "Total Sales" column i'm asking help for.
Thanks
| Project | Date | Sales | Total Sales |
| A | 01/01/2018 | 10 | 10 |
| A | 01/02/2018 | 20 | 30 |
| A | 01/03/2018 | 30 | 60 |
| A | 01/04/2018 | 40 | 100 |
| A | 01/05/2018 | 50 | 150 |
| B | 01/01/2018 | 5 | 5 |
| B | 01/02/2018 | 10 | 15 |
| B | 01/03/2018 | 15 | 30 |
| B | 01/04/2018 | 20 | 50 |
| B | 01/05/2018 | 30 | 80 |
- Anonymous8 years ago
KH11NDR,
Please check attached PBIX file.
Regards,
Lydia
12 Replies
- KH11NDR
Helper IV
I was just trying that,
I selected Running total calculation, Base value as Sales and Field as Project, I was hoping that would have worked, but It's giving the same figures in the month rather than do a runninig total as expected.
- KH11NDR
Helper IV
How would you do it? As it's not working for me.
- KH11NDR
Helper IV
What's the Dax for this as a measure or column as I can't get the Quick measure calculation to do what I want.