Forum Discussion
Running sum with Period
I can see you don't have a proper Date table in the model. This will lead to a lot of issues and bugs you will not even be aware of. Please watch these before starting modeling in PBI:
https://www.youtube.com/watch?v=78d6mwR8GtA
https://www.youtube.com/watch?v=_quTwyvDfG0
and read this to know why you should always use correct star schemas:
https://www.sqlbi.com/articles/understanding-dax-auto-exist/
Also, here's how to properly deal with the future in time-intel calculations:
https://www.sqlbi.com/articles/hiding-future-dates-for-calculations-in-dax/
Best
D
Anonymous Thank you for your great ideas.
ibarrau Thank you for your replies, I tried the formula you gave me but it did not work. To make the things simple I created a simple table visual. Then I created a Running sun measure for actuals. The following is the screenshot of it. I want to stop showing the running total from Period 6 onwards. How can I do it.
Following is the formula I have for the running total
Osmand
- Anonymous6 years agoNot applicableHi there. If you really had taken my advice seriously, you'd now know how to do such a thing:
https://www.sqlbi.com/articles/hiding-future-dates-for-calculations-in-dax/
Best
D- Osmandfernanobi6 years agoRegular Visitor
Thank for your article I am trying to apply your solution but I am still unable to get it correct.
Osmand
- Anonymous6 years agoNot applicableThat's because you are not following Best Practices. Please have a look at how to correctly apply time intelligence in a model:
https://www.sqlbi.com/tv/time-intelligence-in-microsoft-power-bi/
Best
D