Forum Discussion
Cumulative Total
Hey,
you should sightly rearrange your model a little and add an additional table "Index". This table then takes the roll of the date table.
Please have a closer look here: http://www.daxpatterns.com/cumulative-total/
You are using ALL(table) in your calculation, that "overrules" the filter from the phase column, maybe you should also consider to create a phase table, then you're model takes the form of a star schema (dimension tables and fact tables).
From my experience a lot of of calculations become difficult or even impossible, if there is just one table.
Hope this helps
Tom
- pierredelareux9 years agoHelper I
Please find belowmy screenshot.
My goal is to get the cumul of "Budget Corrige" and "Dep Reelles" for the first to the last day.
Then I wan to be able to get the result for one "IMPUT:PHASE"
Thanks
- TomMartens9 years agoSuper User
It will be very helpful if you can share a simplified Excel Workbook that contains sample data.
Here is a link to a post that describes how to create sample data, if it's not possible to share an Excel workbook:
https://community.powerbi.com/t5/Desktop/Please-use-Table-FromRows-to-create-sample-data/m-p/111557
- pierredelareux9 years agoHelper I