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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to user written value from a text slicer without a fixed range

Hi Team,

I have one filter in my report which accept hardcoded input from a user in existing other platform then Power BI, it return the same what user as pass in the O/P. How to achieve same in Power BI. Basically passing this user input will go to query and it will return result.

For Example: Here I selected -1, then O/P will contains -1, if selected 100 then 100.

Input

mg01_0-1685968413576.png

 

 

O/P

mg01_1-1685968519427.png

 




1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

Please check if what-if parameter can achieve your requirement, you can refer the following links to do it.

Power BI Quick Tips: What if Parameters - YouTube

Getting Started With The "What If" Parameter In Power BI | Enterprise DNA

vyiruanmsft_0-1686121761544.png

Best Regards

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors