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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
perobert
New Member

Filter does not contain the word

Hello

I'm having a lot of trouble trying to develop the following in Power BI. I have a table called Master that contains a column of product titles, called titles. I need to put two text filters so that the user can add two words, one which is the word he wants the title to contain and the other the word he wants the title not to contain, these filters must filter the data and display the resulting titles in a visualization.

1 ACCEPTED SOLUTION

That's the beauty of a filter - unless you lock it or have it hidden the user will be entering the values in the filter.





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

Proud to be a Super User!





View solution in original post

7 REPLIES 7
danextian
Super User
Super User

Hi @perobert ,

 

Please provide more info. Are the filter words constant or with the use of slicers? Are those that contain and those  that don't will be used in different  visuals. Please provide a sample data we can work on plus the expected result from that sample data. This should serve as a guide: https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/td-p/144... 





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 for your help. They are not constant, the use of segmenters is required so that a person who is using the dashboard can enter the words they want. They will not be displayed in different visuals, I need the result table to show the titles that contain word 1 and at the same time do not contain word 2

audreygerred
Super User
Super User

You can add your filter for title field to your filter pane, then select Advanced filtering for filtering type and set the first condition to contains and the second to does not contain:

audreygerred_0-1698721303804.png

 





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

Proud to be a Super User!





Thanks for your help. This solution is not what I need since the word to be filtered is not constant, it changes according to the user's desire.

That's the beauty of a filter - unless you lock it or have it hidden the user will be entering the values in the filter.





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

Proud to be a Super User!





Thank you very much, this is a functionality that I didn't know existed, I thought it was only possible to change filters with the edit permission. It worked perfect for me.

You are most welcome! Have a great day!





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

Proud to be a Super User!





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.