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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
bwhitlock
Helper II
Helper II

using a filter to search through a field

I have two columns

Column A called Market will be used as a slicer. It contains record 1 - "Beer" and record 2 - "Wine"

Column B Called Type is the column the slicer should filter... It contains 3 records,  Record 1 - " Beer", Record 2 -"Beer Wine", Record 3 - "Wine Spirits"

 

If I choose Beer from Column A Id like it to filter on Record 1 and 2 in Column B. So essentially its searching through the record to find that text. If I filter Column B on Wine, it should come back with Record 2 and 3. 

 

Is this possible?

6 REPLIES 6
bwhitlock
Helper II
Helper II

thanks for the feedback. How would I pass the parameter from Column A to this however.

mwegener
Most Valuable Professional
Most Valuable Professional

I would have the following sample

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


thanks so much for the example. Question. Is there a way to set the measure so if someone does not select a choice is shows the full list?

mwegener
Most Valuable Professional
Most Valuable Professional

Hello @bwhitlock,

this should already be the case now.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


mwegener
Most Valuable Professional
Most Valuable Professional

Do you have sample data?

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


mwegener
Most Valuable Professional
Most Valuable Professional

Hi @bwhitlock ,

I think you can create something like this with DAX CONTAINSSTRING.

https://dax.guide/containsstring/

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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