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

Slicer with multiple "unrelated" fields/columns

I have three "unrelated" columns with similar data. 

 

Clothing Style 1 (for example, value is: Skirt)

Clothing Style 2 (for example, value is: Top)

Clothing Style 3 (for example, value is: Pants)

 

How do I use Slicer that shows me values from all of above three fields/columns? (Heirarchy Slicer does not suit my need)

Any calculated column or measure that can be combined with Slicer?

 

Alternatively (if using Slicer is not possible),

Or any other filter that can list all values from three different fields/columns in a dropdown?

 

Thank you in advance for your support.

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You may create a slicer table.

slicer = 
DISTINCT (
    UNION (
        SELECTCOLUMNS ( 'Table', "style", 'Table'[Clothing Style 1] ),
        SELECTCOLUMNS ( 'Table', "style", 'Table'[Clothing Style 2] ),
        SELECTCOLUMNS ( 'Table', "style", 'Table'[Clothing Style 3] )
    )
)

2.PNG

I don't see any value in your sample data. What's your expected out put?

 

Best Regards,

Jay

Community Support Team _ Jay Wang

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

4 REPLIES 4
Anonymous
Not applicable

i workaround this by unpivoting columns (Clothing Style 1, Clothing Style 2, Clothing Style 3) and using resulting Value for Slicer.

Anonymous
Not applicable

Hi @Anonymous ,

 

You may create a slicer table.

slicer = 
DISTINCT (
    UNION (
        SELECTCOLUMNS ( 'Table', "style", 'Table'[Clothing Style 1] ),
        SELECTCOLUMNS ( 'Table', "style", 'Table'[Clothing Style 2] ),
        SELECTCOLUMNS ( 'Table', "style", 'Table'[Clothing Style 3] )
    )
)

2.PNG

I don't see any value in your sample data. What's your expected out put?

 

Best Regards,

Jay

Community Support Team _ Jay Wang

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

amitchandak
Super User
Super User

@Anonymous , in case you want in one slicer that Hierarchical slicer from feb release id better option (which seems like not a choice)

https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-february-2020-feature-summary/#_Hierarchical_slicer

 

You can combine value in a single slicer put putting different filter would be a challenge

 

 

In case you need control value in different slicer you can use this option

https://www.youtube.com/watch?v=cyOquvfhzNM

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

I do not need control value in different slicer.

Slicer allows only one Field. However I need to add three unrelated Fields (all three Fields from same Table) to one Slicer. Is there a way to achieve it?

 

Table

CustomerClothing Style 1Clothing Style 2Clothing Style 3
RachelPantsBlouseScarf
SamanthaCocktail Dress  
CarolJeansTop 

 

Slicer: Clothing Style

All

Pants
Blouse
Scarf
Cocktail Dress
Jeans
Top

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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