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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
andmo
Frequent Visitor

Custom Parameter Changer from User

Hello Together,

 

is it possible to create a text input box that actively changes a parameter?

For understanding:

I have a table with values and this should be able to be changed actively by the report user. E.g. as discount input

Total price - Discount

 

Is it possible to do this with a new column or a SQL query? The total prices are fixed in a SQL Database database. The discount field should be calculated after the user input and output.

 

Thanks for your help

1 ACCEPTED SOLUTION

Hi, @andmo ,

all right then, your Discount should be calculated as Measure.

Like this:

Discount = [Total Sum] * DIVIDE(SELECTEDVALUE(Parameter[Parameter]), 100)

Please note that the selectedvalue except a column from your parameter table and it can have different name.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

View solution in original post

3 REPLIES 3
andmo
Frequent Visitor

I will try to describe it better.
So i have a Table with Customer, Type, Total Preis and a Paramter Discount. When the user changes the parameter, the values in the table should also change.
The Discount column is calculated by Total*Paramter/100

andmo_0-1697314495377.png

 

Hi, @andmo ,

all right then, your Discount should be calculated as Measure.

Like this:

Discount = [Total Sum] * DIVIDE(SELECTEDVALUE(Parameter[Parameter]), 100)

Please note that the selectedvalue except a column from your parameter table and it can have different name.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.
vojtechsima
Super User
Super User

Hello,

I am not exactly sure what you mean. But you can have parameters bind with predefined text options, so whenever the user selects in the report the option will then proceed in the actual SQL Query.

 

Here's nice tutorial how it works:

https://www.youtube.com/watch?v=L-wqwzj0-Xo&t=270s






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.