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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

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

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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