Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PBI_newuser
Post Prodigy
Post Prodigy

how to fix the calculated budget

Hi, I have FY18 to FY21 data. I wanna set FY19 actuals as budget for FY20, FY21 and FY22. I have created below measure but it doesn't appear in other months except for the months in FY19. Besides, the budget for each month should be the same but it shows different value in each month.

 

Budget = CALCULATE(DIVIDE(SUM(Table[Cost]),12),FILTER('Calendar','Calendar'[Fiscal Year]="FY2019"))

PBI_newuser_0-1634708244930.png

 

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@PBI_newuser 

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
ryan_mayu
Super User
Super User

@PBI_newuser 

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu , is it possible to calculate the cumulative sum for budget? 

For example, in your pbix file, the budget for each month is 650, I would like to see first month = 650, second month = 1300, third month = 1950 and so on.

@PBI_newuser 

maybe you can try this

measure = if(left(max('Table (2)'[yearmonth]),4)="2019",blank(),DIVIDE(CALCULATE(sum('Table (2)'[value]),FILTER( all('Table (2)'),year('Table (2)'[date])=2019)),12))*(datediff(CALCULATE(min('Table (2)'[date]),all('Table (2)')),max('Table (2)'[date]),MONTH)-11)

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu, how to make the cumulative start from 650 when the date range is selected?

PBI_newuser_0-1634784584245.png

 

@PBI_newuser 

pls see the attachment below.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.