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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Text box for input

I have a requirement to give a text box input (Numeric only) Whatever is mentioned in that text boc the calculation gets updated.

Lets say i show in the report calulcation as A*X.

 

X is the value retrived in text box. Currently i achieved this by drop down with limited values.

Any way we can do this using text box?

1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

As far as I know, the what if parameter is currently the best approach, and you can find the steps in the following article.

2 Easy Steps to Creating User Input Variables with Power BI

 

And the similar question:

Custom visual numeric input box?

Power BI User Input for change value dynamically

Text box to retrieve data

 

Wish it is helpful for you!

 

Best Regards

Lucien

View solution in original post

3 REPLIES 3
Ramanabalaji
New Member

Actually we have limitation for that column. i have requirement like based on the input number which i give in text box then it calculate with other calculated column.

Eg: company have some default number to calculate with their profit %

cal 1= (unit price * Quantity)-(mis)

anticipated portfolio = 14500000000 (input parameter value)

cal 2 = cal 1 / anticipated portfolio

Answer be like...45.98 or something

the problem here is we can't give more than 9 digits in the whatif parameter. Details available in the picture

Ramanabalaji_0-1683083819929.png

 

v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

As far as I know, the what if parameter is currently the best approach, and you can find the steps in the following article.

2 Easy Steps to Creating User Input Variables with Power BI

 

And the similar question:

Custom visual numeric input box?

Power BI User Input for change value dynamically

Text box to retrieve data

 

Wish it is helpful for you!

 

Best Regards

Lucien

HashamNiaz
Solution Sage
Solution Sage

Hi !

Please try using What-If paremter, you can define a min, max & default walue for the paramter. User can pick the value from slicer & you can use the value in your calculation.

 

Regards,

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.