Forum Discussion
Running Total by Month
- 8 years ago
Hi barbforsman
Quick question when you are creating your tables, are you using the columns (Month, Year) from the Date table?
If you are using the columns from your Fact or table with the values then the calculations that you created will not work as expected.
Have you tried creating a measure for each table that finds the cumulative value, then pulling the 3 measures into a visual using the year as a Colum (or Row, depending on your preference) and the the measure as the Values?
Thanks barbforsman.
i have tried that but that does not seem to fix my issue. I can't use any date in my DateDimension table to pull up the cumulative for Actual, Budget and Forecast.
Here is an example of Cumulative Budget. It works as standalone when I use Budget Period as my axis but it does not work when I use [DateDimension].Fulldate or any other field from the DateDimension table. I can't seem to be able to post an image using the "Insert/Edit Image" button above to give you more details, though.
BudgetCumulative =
CALCULATE(
SUM('Budget'[Budget $ (in '000s')]),
FILTER(
ALLSELECTED('Budget'[Budget Period]),
ISONORAFTER('Budget'[Budget Period], MAX('Budget'[Budget Period]), DESC)
)
)
- GilbertQ8 years agoSuper UserHi there
You can follow my blog post on how to easily post an image: https://www.fourmoo.com/2018/02/28/how-to-paste-a-screenshot-image-into-the-power-bi-community-forum/
I would suggest opening a new question as this one is already solved?