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! Request now

Reply
Anonymous
Not applicable

One Slicer for multiple columns

Hello Guys,

 

short question: How can I do a Slicer with multiple columns? Is there maybe a way with the hierarchie slicer?

 

If I do a single slicer for each topic, the user would get confused because he has to clean the checkmark each time he use a new topic slicer.

 

Franz_DE_0-1626336051499.png

-> In this case I would like to have one Slicer which shows me in a table visualisation the correct messages - topics.

 

Goal:

Franz_DE_1-1626336622590.png

 

 

Is there an easy method?

Thank you very much 😋

 

1 ACCEPTED SOLUTION

Hi, @Anonymous 

 

You can create a measure,then use in in visual filter pane.

Like this:

Measure =
IF (
    SELECTEDVALUE ( 'Table'[Topic1] )
        IN DISTINCT ( 'Table 2'[Topic1] )
            || SELECTEDVALUE ( 'Table'[Topic2] )
                IN DISTINCT ( 'Table 2'[Topic1] )
                    || SELECTEDVALUE ( 'Table'[Topic3] ) IN DISTINCT ( 'Table 2'[Topic1] ),
    1,
    0
)

 

vjaneygmsft_0-1626767478887.png

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please upload some insensitive data samples and expected output.

 

Best Regards

Community Support Team _Janey

 

View solution in original post

5 REPLIES 5
v-janeyg-msft
Community Support
Community Support

Hi, @Anonymous 

 

Is your problem solved? The slicer is easy to achieve, the problem is what kind of visual effect do you want to achieve with this slicer, we don’t know.

You can try like this to get three columns' name:

Table 2 = UNION(DISTINCT('Table'[Topic1]),DISTINCT('Table'[Topic2]),DISTINCT('Table'[Topic3]))

 

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please upload some insensitive data samples and expected output.

 

Best Regards

Community Support Team _Janey

Anonymous
Not applicable

No my problem aint solved 😀

 

Whats easy to achvieve for you, isn't that easy for me.

 

A slicer should filter a table. As I wrote - I would like to filter the messages by the topics. If I do your solution with a new table. I do not have any relationship and the slicer wont work. 

Hi, @Anonymous 

 

You can create a measure,then use in in visual filter pane.

Like this:

Measure =
IF (
    SELECTEDVALUE ( 'Table'[Topic1] )
        IN DISTINCT ( 'Table 2'[Topic1] )
            || SELECTEDVALUE ( 'Table'[Topic2] )
                IN DISTINCT ( 'Table 2'[Topic1] )
                    || SELECTEDVALUE ( 'Table'[Topic3] ) IN DISTINCT ( 'Table 2'[Topic1] ),
    1,
    0
)

 

vjaneygmsft_0-1626767478887.png

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please upload some insensitive data samples and expected output.

 

Best Regards

Community Support Team _Janey

 

amitchandak
Super User
Super User

@Anonymous  You can use an independent table with values true and false as a slicer and use values into filter.

 

the expected output is not very clear to me.

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

Sorry I did the wrong Screenshot, the first one should more like this one

Franz_DE_0-1626338354711.png

 

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