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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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