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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
MeggieD00dles
Frequent Visitor

Need Slicer to filter other columns based on selection

 Greetings all! I have two very large datasets (4000+ rows, 150+ columns each) for services requested and services provided by request ID. In the Service Provided dataset, I have a series of columns where it is indicated which specific services were provided, where 1 indicates the service was provided and a 0 indicates the service was not provided (multiple services can be provided for the same request ID)

Any BERD ServicesAny CES ServicesAny CTA ServicesAny HUB Services
0101
1000
0011

I am trying to find out the best way to create a slicer visual with the following categories: "BERD Services", "CES Services", "CTA Services", and "HUB Services", and when any of those categories are selected, I need all of the visuals on that page to filter by services provided (1) in the proper "Any _ Services" column. 
I am somewhat new to Power BI and DAX, but I am willing to learn! Any help is appreciated.

1 REPLY 1
Chris_White
Resolver II
Resolver II

Try creating this calculated column (don't try it as a measure, it won't work):

 

MyColumn = if([Any BERD Services]=1 || [Any CES Services]=1 || [Any CTA Services]=1 || [Any HUB Services]=1,1,0)

 

You can call it something more meaningful than "MyColumn" I'm sure. The "||" is an "or", you can use "&&" if you ever need an "and".

 

Anyway, use this new column in your slicer and it will filter to the ones you want.

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.

Top Solution Authors