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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
bgonen6899
Regular Visitor

Dynamic variance calc between multiple financial scenarios

I have Seven different financial scenarios and I am trying to create a variance report to reflect the difference of two scenarios.

Example below:

Budget 24 (will be considered recent) because it was created after the Actual 2023 scenario.

Problem: My Scenario Prior measures do not fully reflected. (for example "Total Current Month potentail" measure return blanks

 

bgonen6899_0-1735169675817.png

 

This is what I did:

1.I duplicated the slicer called "Scenario Recent" and renamed it "Scenario Prior"

2.I created inactive relationship between Scenario Prior and Scenarios2 (see below)

bgonen6899_1-1735169976829.png

3.I created a dax formula (and this is where I am probably doing something wrong) to ignore the slicer "Scenario Recent" :

Values Prior = CALCULATE([Financial values],ALL('Scenarios Recent'),USERELATIONSHIP('Scenario Prior'[Scenario prior],Values_FIN[Scenario2]))

 

4. The"Values Recent" are pulling all measures of the 7 various scenarios and looks like below:

bgonen6899_2-1735170394105.png

 

5. Budget 2024 measure looks partially like below:

Budget 2024 =
VAR CurrentItem = SELECTEDVALUE('Template4'[Account])
RETURN
SWITCH(
    TRUE(),
      CurrentItem = "Total Current month potential",
    CALCULATE(
        [Total Current month potenial],
        'Values_FIN'[Scenario2]="Budget 2024"
    ),,,,,,
CALCULATE(
        [Financial values],
        FILTER(
            Values_FIN,
            'Values_FIN'[Account] = CurrentItem && 'Values_FIN'[Scenario2] = "Budget 2024"
        )
    )
)

 

 

2 REPLIES 2
bgonen6899
Regular Visitor

Thank you for your reply.

The link you sent me was a bit hard to follow.

 

I used the following link and it worked for me.

Dynamic Variance Analysis with Power BI - Different Forecast Versions Comparison

 

DataInsights
Super User
Super User

@bgonen6899,

 

See if you can adapt this solution that uses field parameters:

 

https://community.fabric.microsoft.com/t5/Desktop/Dynamic-Field-headings-for-matrix-reports/m-p/3098... 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.