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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Surm
Helper III
Helper III

Text slicer for words in phrases

Hello,

 

Out dataset has a column [Product Description] that has textual data like below.

 

Product IDProduct Description
P01"This a super fuel additive for performance cars"
P05"Fuel additive for ordinary cars"
P06"Oil for performance and sports cars and bikes"
P07"additives"
P08"family car tyres"

 

I am trying to add two slicer features:

 

1) The user types "performance" on the slicer linked to [Product Description] column. The slicer then selects all rows that has the word "performance". The user is able to type any custom text and expects [Product Description] gets filtered accordingly.

 

2)  A pre-defined list of words exists and appears on the slicer that is linked to [Product Description] column. The user then clicks on a word from the list and expects [Product Description] gets filtered accordingly. This feature is similar clicking on a word on a wordcloud visual. The difference is, I would like to pre-define/specify the words that appear on the slicer. Ideally, the user should be able to click on those pre-defined words and also type in custom text and all these values are combined as OR conditions (ie if any of the conditions match, the row is returned). For example, lets say the word "Performance" appears on the slicer. The user clicks on the word "performance" and all rows that contain "performance" are returned. The user then types in "family" (let say, "family" does not appear on the slicer as a predefined word) and all rows that contain "family" are also returned.

 

I am keen to hear how these features can be implemented. Are there custom visuals that can do similar things?

 

Thanks

 

3 REPLIES 3
amitchandak
Super User
Super User

@Surm , for the first one you can explore text filter

https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381309?src=office&tab=Overview

 

 

for the second one, you need to create a table in power query by splitting the words, by duplicating the same table and you need to have a many to many join with this table on product id and then use that new table with the word as the slicer

 

Similar approach tables created in power query

Single Select with Select All : https://youtu.be/plGqCEZRfXU

Split Column Power Query: https://youtu.be/FyO9Vmhcfag

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

@amitchandak , Is it possible to make multiple selections on "Text Search" slicer and all of them are joined as OR conditions?

 

Hi @Surm ,

 

Based on my test, Find(), Search() and Containstring() function will work only when there is a single selection in the slicer.

So I'm afraid it is not supported.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.