Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello community:
I have a question, can a field be enabled in a published report of Power BI for the user to enter data and this is used as a variable?
Let's say that, I have the price and the margin with certain fixed values and these must be operated with the data that the user enters, just as shown in the attached image (the price and margin values are multiplied with the Input field). It should be noted that this data is unique, so when a new data is entered, everything previously entered must be deleted.
I will appreciate your advice or guidance on how I could do this.
Thank you!
Best regards,
Solved! Go to Solution.
Hi @DanCasSan,
You should use a Whatifanalys that allows you to have a parameter for user input, be aware that this is a table with the values you define so it can be from 1 to 100 having values from 5 to 5 (20 rows) or another setting like 0 to 1 with increments of 0.01 this will give you 100 rows.
Then just use the measure created automatically to get the calculation for example look at the PBIX file attach and the documentation on what if analysis.
https://docs.microsoft.com/en-us/power-bi/desktop-what-if
In my example I made a table from 0 to 5 with increase of 0.5 so you can go above the price or below the price. you can also set negative values on the parameter.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @DanCasSan,
You should use a Whatifanalys that allows you to have a parameter for user input, be aware that this is a table with the values you define so it can be from 1 to 100 having values from 5 to 5 (20 rows) or another setting like 0 to 1 with increments of 0.01 this will give you 100 rows.
Then just use the measure created automatically to get the calculation for example look at the PBIX file attach and the documentation on what if analysis.
https://docs.microsoft.com/en-us/power-bi/desktop-what-if
In my example I made a table from 0 to 5 with increase of 0.5 so you can go above the price or below the price. you can also set negative values on the parameter.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsDon't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 40 | |
| 30 | |
| 24 |