How to calculate actual versus budget in Power BI

texasguy66

New Member
Joined
May 31, 2023
Messages
16
Office Version
  1. 365
Platform
  1. Windows
Hello,

I am new to BI and slowly learning how to use it. My source data is an excel file and I have a specific column that indicates if the line is actual or budget. How can I have BI calculate a variance $?

Thanks
 

Attachments

  • image3.jpg
    image3.jpg
    20.2 KB · Views: 11

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Assuming your table is named Table1, you will want to create 3 measures:
  • Budget
    • Budget = CALCULATE(SUM(Table1[Amount $]),FILTER(Table1,[Act/Bud]="Budget"))
  • Actuals
    • Actuals = CALCULATE(SUM(Table1[Amount $]),FILTER(Table1,[Act/Bud]="Actual"))
  • Variance
    • Variance = [Budget]-[Actuals]


1686170579874.png
 
Upvote 0

Forum statistics

Threads
1,223,339
Messages
6,171,533
Members
452,409
Latest member
brychu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top