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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Budget fulfilment YTD on Totals

Hi Power BI experts 🙂

I'm struggling with one calculation in DAX. I want to calculate YTD budget fulfilment and it's working fine until I collapse the numbers to a year level. Please take a look at the pictures below.

 

This is how it looks with the split by month. The YTD fulfilment is calculated correctly:

SplitByMonth_01.png

 

When the data are aggregated to year level, then the YTD score is also correct but not the one that I want to show in the report:

SplitByYear_01.png

 

Is there any chance to show 99,88% when the data are aggregated?

The formulas I have used:

Budget CY kUER:=CALCULATE(SUMX('Sales Forecast'; IF([Measure Type] = "Budget"; [Amount EUR];0)); DATESYTD('Date'[DateValue]))

 

Invoiced Sales Ref CY kEUR:=CALCULATE(SUMX('Sales Forecast'; IF([Measure Type] = "Actual Sales"; [Amount EUR];0)); DATESYTD('Date'[DateValue]))

 

Budget fulfilment YTD (%) by EUR amount:=IF('Sales Forecast'[Invoiced Sales Ref kEUR] = 0; BLANK(); DIVIDE('Sales Forecast'[Invoiced Sales Ref CY kEUR]; 'Sales Forecast'[Budget CY kUER]))

 

Thank you for any suggestions and help.

6 REPLIES 6
amitchandak
Super User
Super User

Try like

Budget CY kUER:=CALCULATE(SUMX('Sales Forecast'; [Amount EUR]); DATESYTD('Date'[DateValue]);[Measure Type] = "Budget")

 

Invoiced Sales Ref CY kEUR:=CALCULATE(SUMX('Sales Forecast'; [Amount EUR]); DATESYTD('Date'[DateValue]);[Measure Type] = "Actual Sales")

 

Budget fulfilment YTD (%) by EUR amount:=IF('Sales Forecast'[Invoiced Sales Ref kEUR] = 0; BLANK(); DIVIDE('Sales Forecast'[Invoiced Sales Ref CY kEUR]; 'Sales Forecast'[Budget CY kUER]))

 

Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak 

Thank you for the answer, but the result is the same:

SplitByYear_02.png

Hi @Anonymous ,

 

Did you create the calculated column?

Please try to create a measure instead of the calculated column.

 

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

Anonymous
Not applicable

@V-lianl-msft: Actually this is a measure built in Data Tools.

Hi @Anonymous ,

 

If the problem persists,could you please share sample pbix?(Please mask any sensitive data before uploading)

 

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

PaulDBrown
Community Champion
Community Champion

@Anonymous 

 

Any chance you can share a PBIX file with dummy data? (using OneDrive, Google Dirve, Dropbox or whatever cloud service)





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.