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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
userdata
Helper IV
Helper IV

yearly budget given , how to calculate across months

Hi,

 

i have the yearly budget but thats in one month column only like in december it gives the total budget for the whole year. I want to show across months that total divided by the months.

userdata_0-1630651623752.png

The issue is in pbi when i divide by 12 it gives the right amount but only for december as there is the value there but i need that number per month across month the same value. Any ideas?

userdata_1-1630651772293.png

 

5 REPLIES 5
userdata
Helper IV
Helper IV

@VahidDM Thanks so much for your help! But i have a strange thing happening . When I have the month year in there the numbers show correctly but when i want to show it by year it wont add up and will show the monthly budget instead of the yearly?

userdata_0-1630661572946.png

 

@userdata 

 

Ok, this is different.

What do you want to be the measure 2 value when you want to show it by year?

 

Appreciate your Kudos ✌️!!

 

@VahidDM I thought to have both in one measure so I dont have to put both month and year next to each other but thats fine. Another questions the measure that you give works only when there is month year in the table, as i have also categories and subcategories and different enitities in the organization to get the monthly budget then it doesnt work as it gives the same monthly across all organizations as the ALL overwrites the whole table irrespective of the entity or subcategory but it should take the other organizations and categories into account. How do I do that?

VahidDM
Super User
Super User

Hi @userdata 

 

Add ALL dax to your calculation.

Try this code:

Budget Per Month =
CALCULATE ( MAX ( 'Table'[Yearly Budget] ) / 12, ALL ( 'Table' ) )

Then add it to the table with your Month Year and YearlyBudget, output will be as below:

VahidDM_0-1630653810937.png

 

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Appreciate your Kudos VahidDM_1-1630653815709.png!!

amitchandak
Super User
Super User

@userdata , refer my these two blog for that

 

Distributing/Allocating the Yearly Target(Convert to Daily Target): https://community.powerbi.com/t5/Community-Blog/Distributing-Allocating-the-Yearly-Target-Convert-to...

 

Distributing/Allocating the Yearly Target(Convert to Daily Target): Measure ( Daily/YTD): Magic of CLOSINGBALANCEYEAR With TOTALYTD/DATESYTD: https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Yearly-Target-C...

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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