March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi there,
I have a requirement for a slicer where the user can type in comma seperated values and the slicer will select all values that matches words in the comma seperated list. For eg, lets say we have a field called domain with the following values- legal cases, legal studies, legal consulting, finance, finance models, hr, transformation etc.
Now if the user types in the following text to the slicer - "legal, finance", then the reports should show data associated with the following domains
as each of then contains the word - legal or finance.
I considered using text filter, but this does not support comma separated values.
I know if we provided a search button for the usual slicer filter and type , say for eg, "legal", then the slicer will refresh to show all values with legal in it but the issues is that we may have 100s of values with legal and selecting them one by one is cumbersome and prone to errors.
Any help is appreciated.
Regards,
Meena
cc: @Ritaf1983 , @rajendraongole1
Set the filter to Basic
Select more than two values from the dropdown
Set the filter to Advanced
Change all comparisons from "is" to "contains"
Publish the report
Hi @Meena0155 ,
Thank you for reaching out to Fabric Community Forum about how to improve slicer functionality in Power BI to support comma separated values.
To achieve the desired functionality where a user can input terms like "legal, finance" and have the report display all related domains, you can follow these steps:
let
KeywordTable = #table({"Keyword"}, {{"legal"}, {"finance"}})
in
KeywordTable
= Table.AddColumn(#"Changed Type1", "Custom", each Table.AddColumn(#"Changed Type1", "Custom", each Table.AddColumn(#"Changed Type1", "Custom", each List.AnyTrue(List.Transform(Keyword[Keyword], (keyword) => Text.Contains(Text.Lower([Domain]), Text.Lower(keyword)))), type logical)))
I am also including pbix file for your better understanding. Hope this helps you to solve the issue, If you need further assistance, feel free to let me know.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
Thank you v-tsaipranay
Unfortunatley, we dont have a fixed list of keywords that the user want to select by. So creating a table with keywords would not be very ideal.
But thanks for the response.
Cheers,
Meena
Hi @Meena0155 ,
Thankyou for the reply regarding your query confirmation.
The feature you are looking for is not directly available, but there is a workaround to achieve your objective.
Go through the below link so that you can get an idea.
Solved: Slicer capabilities with multiple text items in co... - Microsoft Fabric Community
As mentioned in the link, you can create custom text filters to refine the slicers. While the link shows how to use one text filter, you can easily create two or three text filters to suit your specific needs.
I hope my suggestions give you good ideas, If you have any more questions or need further assistance, feel free to let me know.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
Hi @Meena0155 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @Meena0155 ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Teach your users how to use the filter pane - there you can specify multiple filters like
contains "legal" or contains "finance"
(it is even possible to do more than two or conditions, with a little trick.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
86 | |
73 | |
58 | |
52 |
User | Count |
---|---|
196 | |
125 | |
107 | |
68 | |
65 |