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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
Super User
Super User

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.