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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Jayaselvan
Helper II
Helper II

Using many What If Parameters

Hello All,

Hope everybody doing well.

 

I have requirement where I have to use 165 user input values. As for my understanding there are two ways of doing it. 

 

1. Using 165 what if parameters. It seems like the development will be very time consuming. As it's not in the table format. Entering the 165 value will be very hectic for users as well.

2. I will create a database/Excel(Online) stores all the 165 inputs in the table format. That database will be used in power bi. Using power Apps they can update the table.

 

As the input variables is high, Please suggest some way to be user friendly. If it is easy develop, I will be very happy.

Please feel free to recommend a tool apart from Power BI as well. 

 

1 REPLY 1
jaweher899
Impactful Individual
Impactful Individual

What-If parameters allow you to create a dynamic report that updates based on the values of one or more parameters that you can change.

Here are some tips for using multiple What-If parameters in a Power BI report:

  1. Create a separate What-If parameter for each value you want to change dynamically.
  2. Use the What-If parameters in calculated columns, measures, or DAX formulas as needed.
  3. Use the RANKX function or similar functions to perform conditional ranking based on the values of the What-If parameters.
  4. Use the SWITCH function or similar functions to perform conditional calculation based on the values of the What-If parameters.
  5. Use the ALL function or similar functions to remove filters created by the What-If parameters.

It's important to note that What-If parameters are a powerful feature of Power BI, but they can also slow down report performance if used excessively. To avoid performance issues, use What-If parameters judiciously and only when necessary.

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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