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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Kmason_6
New Member

Toggle varying scenarios from within the source file (Excel)

I am working on a dashboard to summarize a financial model for my company. I would like to structure the PowerBI dashboard to toggle key metrics within the source file and show the impacts instantly in the dashboard. 

 

As an example - to toggle the construction start date within the model to see how it impacts NPV and Net Income over time. 

 

I am hoping to avoid having to open a cumbersome financial model, alter the variable, save, open the PowerBI file, and refresh the data to see how the dashboard changes. I am hoping to be able to toggle some key variables and see the impact to the financials quickly while showing the dashboard to key stakeholders. 

 

Any advice would be greatly appreciated.

1 REPLY 1
BA_Pete
Super User
Super User

Hi @Kmason_6 ,

 

If your source data is granular enough i.e. it contains the base value that you want to apply scenarios to, then you can use DAX Parameters:

BA_Pete_0-1694175922685.png

 

Use this to create a list of values that can be selected to adjust the scenario. It will also automatically create a parameter measure that you can use to visualise the change.

 

For example:

BA_Pete_1-1694176324244.png

 

The PBIX attached below contains the above example so you can see how this fits together.

 

In order to do this for different dates the principle is the same but you'll need to create our own date list (usually just a calendar table), and you'll need to write a slightly more complex measure or set of measures, maybe something like this:

_noofDaysSelected =
VAR __selectedDate = MAX(calendar[date])
RETURN
DATEDIFF(__selectedDate, TODAY(), DAY)

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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