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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
garycarters
Helper I
Helper I

Card visual - calculate difference between actual and budget

I am trying to present a visual that shows the difference between average daily spend per month compared to the budgeted spend in a card.

 

I can display the Daily average with a column such as 

DailyAvgVBudget = CALCULATE(SUM([Spend])/AVERAGE([MonthWorkingDays])).
 
However, if I try to calcuate the difference by subtracting the budgeted daily figure (either as a constant or retrieved from a field) I get a strange result nowhere near the expected answer.
 
Things I've tried include;
DailyAvgVBudget = CALCULATE(SUM([Spend])/AVERAGE([MonthWorkingDays])) - 37859
 
DailyAvgVBudget = CALCULATE(SUM([Spend])/AVERAGE([MonthWorkingDays]) - AVERAGE(Budget[Daily]) )
 

Am I trying to achieve the impossible?  Surely not...

 

5 REPLIES 5
v-frfei-msft
Community Support
Community Support

Hi @garycarters ,

 

Could you please share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

https://1drv.ms/u/s!Amo6JxqZkuIlad7zkbxiKSakac0 

 

This is the data set I am using.

Hi @garycarters ,

 

Seemed that I cannot access the file by the link. Could you please share it again?

333.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @garycarters ,

 

Same error..

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors