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
Tarek78
Frequent Visitor

DAX function to calculate actuals

Hi All,

 

I have a model with various tables with the main ones being:

 

Fact Actuals : showing the actual P&L per GL

Fact Budget 2022: showing the budgeted P&L per GL for 2022

 

The net revenue is GL A111 (gross revenue) - GL A115 (returns).

 

I would like to create a function showing the "adjusted Actuals".

 

Let's use an example so that you can understand:

 

1. The revenue budgeted is 1000 and the actual 2021 (LY) revenue is 900

2. We have budgeted some travel costs for 100 (= 100/1000 so 10% of the revenue)

3. In 2021, the travel costs were 100 (100/900= 11%)

 

4. In 2022, I notice that my travel cost are 200

 

I want to create a DAX formula to calculate an adjusted Actual 22 being:

 

Travel Cost 2021/ Revenue 2021*Revenue Budget 2022 > Thus way, I can easily where are the variances vs the actuals 2022

 

Don't know if it is clear as it is complex to explain

 

 

 

 

Adjusted Actuals.PNG

2 REPLIES 2
Tarek78
Frequent Visitor

Up. Can someone help me 

Tarek78
Frequent Visitor

Hi Everyone, feel free to let me know if it is not clear

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.