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
Matt_Nold
Regular Visitor

Multiple search options

Hi all, 

 

I am trying to create a search tool that allows users to enter up to 4 terms, with the ability to choose and/or between search fields A&B, and C&D, and additionally and/or between the AB and CD requirements are met.  These will be searching a large concatonated free text field with endless options, so a table of search options won't work.  I think I understand how the disconected tables can do the and/or options, but is there anyway to create a free text entry for the end user that I can then incorporate into my DAX without using Power Apps?  My end users have the free version of PBI, and cannot refresh the semantic model.

Picture below of how we built this in Tableau and how we are hoping it can work in PBI.

 

Thanks, 

Matt

Matt_Nold_0-1763044249846.png

 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@Matt_Nold The only default visual that allows free text entry that I know of is the Q&A visual and PowerApps visual but I don't think that the Q&A visual is really useable in the way you want. You could try third party visuals like the Text search slicer or the preview Text slicer.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

7 REPLIES 7
danextian
Super User
Super User

Hi @Matt_Nold 

The only slicer that supports free-text entry is the Text slicer, as @Greg_Deckler  mentioned. You can use multiple text slicers, but they’ll all behave as AND filters. With other slicer types, you can build an OR filter using a disconnected table, but that still requires the user to choose predefined values—so no free-text input.





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.

Thanks Dane.  I did find that you can set the Preview Text Slicer to allow multiple values as an OR.  It's not exactly how I hoped it would work, but multiple text slicers with at least one set to allow multiple values gets me close.  

Praful_Potphode
Solution Sage
Solution Sage

Hi @Matt_Nold ,

 

For this we will need to create 7 Disconnected tables.

3 tables will have AND/OR as values.

the other 4 will have words then using measure you will have to manipulate the output.

I have tried one approach in the sample pbix file.

Please check it.

 

please give kudos or mark it as solution once confirmed.

 

Thanks and Regards,

Praful

Thanks Praful, but I can't do tables with word to select, I am working with free text healthcare data so the possible things my users want to search is nearly limitless.

Hi @Matt_Nold ,

what you can try next create a duplicate copy of the search text column and then replace space with special character(for example ~).then create a measure which will give 1 or 0 depending on the word found using CONTAINSSTRING. and add measure to a table.

 

Thanks and regards,

Praful

Greg_Deckler
Community Champion
Community Champion

@Matt_Nold The only default visual that allows free text entry that I know of is the Q&A visual and PowerApps visual but I don't think that the Q&A visual is really useable in the way you want. You could try third party visuals like the Text search slicer or the preview Text slicer.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks Greg, I did try the text search slicer, It didn't help with pulling the search terms into a calculation.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.