Forum Discussion
Cumulative Total Changes with Date Hierarchy Filter
sboobar You can do this using Better Running Total, using CALCULATE in a single table data model is going to give you wonky results a lot of times. Better Running Total - Microsoft Power BI Community
You *might* be able to get there switching your ALLSELECTED to ALL
I was able to create the cumulative (or running total) without 'calculate' but I still have the same issues when it comes to viewing/filtering to specific time periods- my measure changes its cumulative total depending on the dates I have selected. The measure I used is below:
- sboobar3 years agoFrequent Visitor
Example of cumulative total changing:
Location with 2023 selected:
Location with 2022-2023 selected:
- sboobar3 years agoFrequent Visitor
This worked in SQL using Spotfire, just trying to find DAX equivalent for Power BI
Sum([GrossWaterProd]) over (Intersect([PropNum],AllPrevious([Date])))