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
kylefox101
Frequent Visitor

Using Slicer as Visual Title

Hello! 

 

I am attempting to use slicers as visualization titles, that when selected pulls the location into the corresponding table. I am running into issues when selecting more than one, presumably the table is treating the slicers as an 'and' rather than 'or'. Any thoughts or ideas on how to get this to work?

 

Screen Shot 2022-07-25 at 10.31.30 AM.png

 

Thank you!

Ky

1 ACCEPTED SOLUTION
v-chenwuz-msft
Community Support
Community Support

Hi @kylefox101 ,

 

Is this you want?

vchenwuzmsft_0-1659001462075.gif

 

If yes, please create a new table via values('fact table'[category]) for one slicer. if two slicers then two tables.

Then create measure like the following and put it in filter pane and set it show items when is 1.

 

 

Measure =
IF (
    SELECTEDVALUE ( 'Table'[Category] )
        IN VALUES ( Slicer1[Category] )
            || SELECTEDVALUE ( 'Table'[Category] ) IN VALUES ( Slicer2[Category] ),
    1
)

 

 

Pbix in the end you can refer.

Best Regards

Community Support Team _ chenwu 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

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @kylefox101 ,

 

Is this you want?

vchenwuzmsft_0-1659001462075.gif

 

If yes, please create a new table via values('fact table'[category]) for one slicer. if two slicers then two tables.

Then create measure like the following and put it in filter pane and set it show items when is 1.

 

 

Measure =
IF (
    SELECTEDVALUE ( 'Table'[Category] )
        IN VALUES ( Slicer1[Category] )
            || SELECTEDVALUE ( 'Table'[Category] ) IN VALUES ( Slicer2[Category] ),
    1
)

 

 

Pbix in the end you can refer.

Best Regards

Community Support Team _ chenwu zhu

 

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

lbendlin
Super User
Super User

Not clear what your issue is.  Generally you use CONCATENATEX() to gracefully handle situations where more than one value is selected.

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.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors