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! Learn more

Reply
AutismRunner296
Frequent Visitor

How to filter across multiple columns with the same content

Couldn't find anything by searching, so trying my luck here.

 

I have a spreadsheet (from JIRA) that contains 3 columns called Label, Label1, and Label2.  They can all contain exactly the same entries.  Is it possible to combine the 3 into 1 filter, so if I wanted to search for the "Apple" in any of the 3 columns, it brings back the corresponding row.

 

Thanks all in advance

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, 

Thanks for the solution @Idrissshatila  provided and i want to offer some more information for user to refer to.

hello @AutismRunner296 , you can refer to the follwing sample.

Sample data 

vxinruzhumsft_0-1716875689461.png

Slicer table

vxinruzhumsft_1-1716876028628.png

Then create a measure

Measure = COUNTROWS(FILTER(Slicer,CONTAINSSTRING(MAX('Table'[Value]),[Type])))

Put the measure to the visual filter.

vxinruzhumsft_2-1716876074955.png

 

Output

vxinruzhumsft_3-1716876122758.png

 

vxinruzhumsft_4-1716876132578.png

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

3 REPLIES 3
AutismRunner296
Frequent Visitor

How would I then filter on the merged columns, for example I could have:

 

Apple, Orange, Banana

Banana, Apple, Kiwi

 

If I wanted to filter on Banana how would I go about it

Anonymous
Not applicable

Hi, 

Thanks for the solution @Idrissshatila  provided and i want to offer some more information for user to refer to.

hello @AutismRunner296 , you can refer to the follwing sample.

Sample data 

vxinruzhumsft_0-1716875689461.png

Slicer table

vxinruzhumsft_1-1716876028628.png

Then create a measure

Measure = COUNTROWS(FILTER(Slicer,CONTAINSSTRING(MAX('Table'[Value]),[Type])))

Put the measure to the visual filter.

vxinruzhumsft_2-1716876074955.png

 

Output

vxinruzhumsft_3-1716876122758.png

 

vxinruzhumsft_4-1716876132578.png

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Idrissshatila
Super User
Super User

Hello @AutismRunner296,

 

did you try combining columns into one and use it https://zebrabi.com/how-to-combine-two-columns-in-power-bi/

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




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.

Top Solution Authors