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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
anil
Helper III
Helper III

String as input in whatif parameters

Hi All,

           We are trying to create a user form in power bi report. So users can enter data to the field values. We are able to create numeric input parameter but unable to create string based input parameter. The intention is to create string parameters so users can enter Account Name, Project ID and Creation date, so these details will be added to the report table. Then extract it as csv files.

Is this possible in Power Bi? Need help.IP.PNG

 

 

Above image, in has two input boxes need to enter project id and creation date so the same reflects in the below table.

Sample pbix file: https://www.dropbox.com/s/9u4nyhq2oa3y5pj/Input%20Test.pbix?dl=0

4 REPLIES 4
WendyXue
New Member

5 years on, it seems string values are still not allowed in parameters? It's really useful when user need to filter report using a combination of keywords.

Text filter and Attribute slider do not support that complexity.

PowerBI app seemed a bit overkill, a textbox for user to input string and store the value in parameter would be super efficient. 

v-juanli-msft
Community Support
Community Support

Hi @anil

What if parameter is not suitable for imputing string to the table.

It only supports to input data of type number

 

In your scenario, create a new table containing Account Name, Add the column of this new table into a slicer so that you can select which Account Name  to display. the same for Project ID and Creation date.

9.png

 

 

 

Best Regards

Maggie

 

Thanks for the reply Maggie,

  But we cannot create a table as the input should be dynamic by the user. Another way to do it is using powerapps, but with powerapps we need to write back to database and show the input data in the power bi table.

Looking for an alternate solution within power bi to input text.

Hi @anil

Based on researching, there is no such function to input string to power bi.

You may submit an idea here.

 

Best Regards

Maggie

 

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.