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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
JeanC
Regular Visitor

Actual Vs Budget table in PowerBi

Hello All,

Can anyone help me to setting up Actual Vs Budget table in PowerBi. Is there a way I can attached datasets?

Thanks in Advance
Jean

11 REPLIES 11
JeanC
Regular Visitor

I would like to have an Actual Vs Budget table that show monthly variances, quarterly variances as well year-to-date variances.

Hi, @JeanC 

I calculate the difference for each month using the following DAX:

this month = 
var _cur_month = CALCULATE(
    SELECTEDVALUE('DateTable'[year number]),'DateTable'[Date]=TODAY())
RETURN
CALCULATE(
    [Project Amount],
    'DateTable'[year number]=_cur_month)


Last Months = 
var _cur_month = CALCULATE(
    SELECTEDVALUE(DateTable[year number]),'DateTable'[Date]=TODAY())
RETURN CALCULATE([Project Amount],'DateTable'[year number]=_cur_month-1)


month-on-month = DIVIDE([this month]-[Last Months],[Last Months])

The calculation results are as follows:

vjianpengmsft_0-1709112433260.png

I have provided the PBIX file used this time. If it can help you, that would be great.

 

 

 

How to Get Your Question Answered Quickly

Best Regards

Jianpeng Li

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

 

JeanC
Regular Visitor

 if someone can help create and save the .pbix file I would appreciate it.

JeanC
Regular Visitor

Above are the tables/datasets

JeanC
Regular Visitor

Dept HeadOUAsset CategoryDepartment NumberDepartment NameDepartment Description
Doe John745FACil111FacilitiesDoe John-111-Facilities
Smith John746IT112IT ServicesSmith John-112-IT Services
Wilson Mike747Med&Veh113Med&Veh-MiamiWilson Mike-113-Med&Veh-Miami
JeanC
Regular Visitor

DateYearPeriodMonth
Jan 202420241Jan
Feb 202420242Feb
Mar 202420243Mar
JeanC
Regular Visitor

ScenarioScenario IDScenario Description
Actual1Actual
Budget2Budget
Estimate3Estimate
Forecast4Forecast
JeanC
Regular Visitor

AccountLong Account DescriptionAsset CategoryAsset SubCategoryAsset Category IDAsset Category Code
15601560-Computer HardwareITComputer Hardware601560-IT
15401540-Leasehold ImprovementsfacilLeasehold Improvements401540-facil
15801580-HME Property and EquipmentMed&VehHME Property and Equipment801580-Med&Veh
JeanC
Regular Visitor

DateAmountAccount Project CodeProject DescriptionOUOU DescriptionAsset CategoryDept HeadScenario
Jan 2024 $           50,000.0015603022IT Project description 1107OmahaITSmith JohnBudget
Jan 2024 $        166,666.6715404896Facil Project description 1894OaklandfacilDoe JohnBudget
Jan 2024 $           38,500.0015806418Med&Veh Project description 1917Med&Veh - IrvingMed&VehWilson MikeBudget
Feb 2024 $           50,500.0015603022IT Project description 1107OmahaITSmith JohnBudget
Feb 2024 $        167,166.6715404896Facil Project description 1894OaklandfacilDoe JohnBudget
Feb 2024 $           39,000.0015806418Med&Veh Project description 1917Med&Veh - IrvingMed&VehWilson MikeBudget
Mar 2024 $           51,000.0015603022IT Project description 1107OmahaITSmith JohnBudget
Mar 2024 $        167,666.6715404896Facil Project description 1894OaklandfacilDoe JohnBudget
Mar 2024 $           39,500.0015806418Med&Veh Project description 1917Med&Veh - IrvingMed&VehWilson MikeBudget
JeanC
Regular Visitor

DateAmountAccount Project CodeProject DescriptionOUOU DescriptionAsset CategoryDept HeadScenario
Jan 2024                2,500.0015603022IT Project description 1107OmahaITSmith JohnActual
Jan 2024              12,011.3915404896Facil Project description 1894OaklandFacilDoe JohnActual
Jan 2024              64,639.8315806418Med&Veh Project description 1917Med&Veh - IrvingMed&VehWilson MikeActual
Feb 2024                3,000.0015603022IT Project description 1107OmahaITSmith JohnActual
Feb 2024              12,511.3915404896Facil Project description 1894OaklandFacilDoe JohnActual
Feb 2024              65,139.8315806418Med&Veh Project description 1917Med&Veh - IrvingMed&VehWilson MikeActual
Mar 2024                3,500.0015603022IT Project description 1107OmahaITSmith JohnActual
Mar 2024              13,011.3915404896Facil Project description 1894OaklandFacilDoe JohnActual
Mar 2024              65,639.8315806418Med&Veh Project description 1917Med&Veh - IrvingMed&VehWilson MikeActual
JeanC
Regular Visitor

pic actual vs budget.PNG

Here's table sample above

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.