Forum Discussion
Total Budgets for Next Month
how to do that will depend on the format of your BudgetsNew[BUD_MONTH_YEAR], or any other time columns you have. If you can paste some data from you model(not screen shots), or create sample report and upload it to dropbox/onedrive/other, it will be possible to help you.
Cheers,
Sturla
If this post helps, then please consider Accepting it as the solution. Kudos are nice too.
Hi sturlaws,
This BudgetsNew[BUD_MONTH_YEAR] is in the below format:
"MM/DD/YYYY"
And below attached is my Budgets table where the next month's formula is not working.
https://www.dropbox.com/s/vtirm2681xi891g/Budgets.pbix?dl=0
Please, can you suggest to me what I have to do?
- sturlaws7 years ago
Resident Rockstar
Great!
try this measureNext Month Budget2 = CALCULATE(SUM(Budgets[BUD_AMOUNT]); PARALLELPERIOD(Budgets[BUD_MONTH_YEAR];1;MONTH))hm, Budgets[BUD_MONTH_YEAR] has a timepart, some of the items is at 07:00, others at 08:00, not sure if that might cause some issues down the road. I would separate that into a date and time column(if time is at all needed).
Cheers,
Sturla- PreetiSahu3217 years ago
Helper I
Hi sturlaws ,
As I have put this measure formula, still it is not showing me the exact value. As this month is October, It should display the total value of November i.e. 25,300 as you can see in the below screenshot.
Anything I have to do else?
- sturlaws7 years ago
Resident Rockstar
Sorry, I thought you wanted to have budget next month in a table with month on the axis.
If you just want the next month relative to todays date, use this formulaNext Month Budget = CALCULATE ( SUM ( Budgets[BUD_AMOUNT] ); FILTER ( ALL ( Budgets[BudgetDate] ); Budgets[BudgetDate] = DATE ( YEAR ( TODAY () ); MONTH ( TODAY () ) + 1; 1 ) ) )But you need to separate the date part of [BUD_MONTH_YEAR], you can do this by creating a new column like this
BudgetDate = Budgets[BUD_MONTH_YEAR].[Date]