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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Henryk
Frequent Visitor

Text search slicer in multiple column

Hi,

I need ONE Text search slicer for search text in two column - find text in column1 OR column2. 

when I work with numbers from two columns I create measure with OR function like:

OR filtrace Odds = 1*(or([M_Odds1]>1.5,[M_Odds2]>1.4))

 

How can I create something similar for two text columns?

I try this solution, but not work.

 

 

1 ACCEPTED SOLUTION
Henryk
Frequent Visitor

I resolve it with COMBINEVALUES :

 

StateCountry = COMBINEVALUES ( "|", Customer[State], Customer[CountryRegion] )

from:

creating-a-slicer-that-filters-multiple-columns-in-power-bi

View solution in original post

4 REPLIES 4
Henryk
Frequent Visitor

I resolve it with COMBINEVALUES :

 

StateCountry = COMBINEVALUES ( "|", Customer[State], Customer[CountryRegion] )

from:

creating-a-slicer-that-filters-multiple-columns-in-power-bi

Henryk
Frequent Visitor

Hi @hnguy7,

Thank You for reply. What is this Sample formula - measure or column? Because in column it wrote me "cannot work with String parametr" :

https://drive.google.com/file/d/1xVtsyg_VOPnqyGk_o132MucpKMHEftlp/view?usp=drivesdk

 

and measure I cannot add to Text search slicer.

 

 

 

 

Hi @Henryk ,

 

This is as a measure.



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
hnguy71
Super User
Super User

Hey @Henryk ,

 

Try this:

 

CALCULATE(SUM(<YOUR_TABLE>[Your_Value]), (<YOUR_TABLE>[Column1] = "String01") || (<YOUR_TABLE>[Column2] = "String02"))

 

 

hnguy71_1-1647475618149.png

 

 



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

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.