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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Performing a Search across several columns

Hi all,

 

I have the below table and I'm trying to develop a filter that will search across each country column.

 

I have managed to get it to work for a single column - the filter will show me rows with/without "Sales" in it - however I need to expand this so that it will search across all of the columns. Any tips on how to do this? Help would be much appreciated!

 

Y_contains = IF(
    ISERROR(
        SEARCH("Sales", 'Capabilities v Country PSL'[Austria])
    ),
    "Not Sales",
    "Sales"
)

 

custerdome_0-1677768842910.png

 

1 REPLY 1
FreemanZ
Super User
Super User

hi @Anonymous 

 

could you also post your expected result?

 

the logic is similar to this post. the point is to unpivot the data first. 

https://community.powerbi.com/t5/DAX-Commands-and-Tips/List-highest-score-for-each-provider-from-a-range-of-tables/m-p/3106897#M109551

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.