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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
acg85
Regular Visitor

Alfanumeric input box

Hello,

 

We have a requirement where we need to give to the user the option to type a 14 digit alfanumeric code, ex: A1B2C3D4E5F6G7, and this input will be later used in a measure or something like that.

 

We are aware that there is a workaround to do certain types of inputs (link below), but it is not feasable to load into a table all the combinations of 14 digit codes.

https://www.antaresanalytics.net/post/2018/09/11/power-bi-creating-user-input-variables

 

Is this possible?

 

Thanks.

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @acg85 

Using an input that  is not in the model requires  writeback which Power BI doesn't natively supported. There is a new text slicer which allows a free text input but will not filter to something that is not in the data yet so using a measure like SELECTEDVALUE(data[column]) will return blank if the input doesn't exist.


Going back to writeback, there are alternatives.

  • You can use PowerApps which will store the users input somewhere. Once  an input is submitted, you can use a PowerAutomate flow to trigger the refresh of the semantic model which will of course take time depending on the size of the model among other factors. Note: PowerAutomate is counted against  the daily scheduled refresh limit. Or you can store the result to dataverse which Power BI can connect to using direct query. Note: dataverse is a premium connector.
  • Third-party writeback services like from Inforiver

Fabric will be supporting writeback soon. Fabric, that is.

 

Another alternative which isn't very intuitive is to use 14 different slicers from 14 different tables. The selected values of which will be concatenated to filter the fact or other dimension tables.

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

1 REPLY 1
danextian
Super User
Super User

Hi @acg85 

Using an input that  is not in the model requires  writeback which Power BI doesn't natively supported. There is a new text slicer which allows a free text input but will not filter to something that is not in the data yet so using a measure like SELECTEDVALUE(data[column]) will return blank if the input doesn't exist.


Going back to writeback, there are alternatives.

  • You can use PowerApps which will store the users input somewhere. Once  an input is submitted, you can use a PowerAutomate flow to trigger the refresh of the semantic model which will of course take time depending on the size of the model among other factors. Note: PowerAutomate is counted against  the daily scheduled refresh limit. Or you can store the result to dataverse which Power BI can connect to using direct query. Note: dataverse is a premium connector.
  • Third-party writeback services like from Inforiver

Fabric will be supporting writeback soon. Fabric, that is.

 

Another alternative which isn't very intuitive is to use 14 different slicers from 14 different tables. The selected values of which will be concatenated to filter the fact or other dimension tables.

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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