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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Andi_R
Frequent Visitor

two single select slicers for one graph

Hi everyone! Currently I'm trying to create a line chart that has two single select slicer inputs. Both slicers are based off of the same data sets that span over multiple months. I know that I could have them in a multiple select slicer, however based on how they are synced, the goal is to keep the single select. Even after having made sure that the slicers aren't interacting with each other, if two different data sets are chosen the graph shows up as blank. Is what I'm trying to do possible or do i need to switch how my slicers are synced? Thank you in advance for any advice or help!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Andi_R ,

 

Depend on your description, you should create below slicers table, then try formula like below to create measure:

vkongfanfmsft_0-1720662762666.png

CombinedSales = 
VAR Selected1 = [SelectedValue1]
VAR Selected2 = [SelectedValue2]
RETURN
CALCULATE(
    SUM(SalesData[SalesAmount]),
    FILTER(
        SalesData,
        SalesData[Category] = Selected1 || SalesData[Category] = Selected2
    )
)

vkongfanfmsft_1-1720662783286.png

 

Best Regards,
Adamk Kong

 

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

1 REPLY 1
Anonymous
Not applicable

Hi @Andi_R ,

 

Depend on your description, you should create below slicers table, then try formula like below to create measure:

vkongfanfmsft_0-1720662762666.png

CombinedSales = 
VAR Selected1 = [SelectedValue1]
VAR Selected2 = [SelectedValue2]
RETURN
CALCULATE(
    SUM(SalesData[SalesAmount]),
    FILTER(
        SalesData,
        SalesData[Category] = Selected1 || SalesData[Category] = Selected2
    )
)

vkongfanfmsft_1-1720662783286.png

 

Best Regards,
Adamk Kong

 

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

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.