How to calculate MTD Budget ,Budget data is month wise

Hi,

I have Budget month wise, and able to calculate the BudgetPerday also. Now I have to calculate
MTD budget. I have a full date table. Not able to calculate it. Can you please guide how I can do that.

Measure for Budget, Monthly and PerDay

Budget = CALCULATE(SUM(‘Budget’[Budget]),
TREATAS(VALUES(Dates[MonthYear]),‘Budget’[MonthYear]),TREATAS(VALUES(‘X3 Sales’[Company]),Budget[Company]))

Month Budget = CALCULATE(SUMX(Budget,Budget[Budget]),
TREATAS(VALUES(Dates[MonthYear]),‘Budget’[MonthYear]),
TREATAS(VALUES(‘X3 Sales’[Company]),Budget[Company]))

ForecastPerDay =
VAR BudgetPerMonth = CALCULATE([Budget],FILTER(Dates,MONTH(Dates[Date])=MONTH(MAX(Dates[Date]))))
RETURN
IF
(ISFILTERED(Dates[Date]),
DIVIDE(BudgetPerMonth,[WorkingDays in Month],0),[Budget])

Thanks

Hi @Seema , we aim to consistently improve the topics being posted on the forum to help you in getting a strong solution faster. While waiting for a response, here are some tips so you can get the most out of the forum and other Enterprise DNA resources.

  • Use the forum search to discover if your query has been asked before by another member.
  • When posting a topic with formula make sure that it is correctly formatted to preformatted text </>.

image

  • Use the proper category that best describes your topic
  • Provide as much context to a question as possible.
  • Include the masked demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details.

I also suggest that you check the forum guideline How To Use The Enterprise DNA Support Forum. Not adhering to it may sometimes cause delay in getting an answer.

Please also check the How To Mask Sensitive Data thread for some tips on how to mask your pbix file.

Hi @Seema, we’ve noticed that no response has been received from you since the 4th of March. We are waiting for the masked demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details.

In case there won’t be any activity on it in the next few days, we’ll be tagging this post as Solved.