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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors