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! Learn more

Reply
Anonymous
Not applicable

DropDown option to select another chart

Hi,

I've a use case I need to put multiple charts in one place on top of other. I need a DropDown selector to choose the desired chart. How to achieve this in PowerBI? any help on this would be highly appreciated. 

Example:  https://www.google.com/imgres?imgurl=https%3A%2F%2Fstatic.wixstatic.com%2Fmedia%2F9d7f1e_b306647fe89... 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello @MuraliPrasathS

You can achieve your goal by segmenting and measureing.

I build a table (values) like yours and build a slicer table.

Mesa:

1.png

ProductName Table(Slicer Table):

2.png

Measure:

Chart Data Source =
VAR _Sel =
    SELECTEDVALUE ( ProductName[ProductName] )
RETURN
    IF (
        ISFILTERED ( ProductName[ProductName] ),
        SWITCH (
            TRUE (),
            _Sel = "ProductA", SUM ( 'Table'[ProductA] ),
            _Sel = "ProductB", SUM ( 'Table'[ProductB] ),
            SUM ( 'Table'[ProductC] )
        ),
        BLANK ()
    )

The result is as follows.

By default, it will be blank.

3.png

Select ProductA in the slicer:

4.png

You can download the pbix file from this link: DropDown option to select another chart

Best regards

Rico Zhou

If this post helps,then consider Accepting it as the solution to help other members find it faster.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hello @MuraliPrasathS

You can achieve your goal by segmenting and measureing.

I build a table (values) like yours and build a slicer table.

Mesa:

1.png

ProductName Table(Slicer Table):

2.png

Measure:

Chart Data Source =
VAR _Sel =
    SELECTEDVALUE ( ProductName[ProductName] )
RETURN
    IF (
        ISFILTERED ( ProductName[ProductName] ),
        SWITCH (
            TRUE (),
            _Sel = "ProductA", SUM ( 'Table'[ProductA] ),
            _Sel = "ProductB", SUM ( 'Table'[ProductB] ),
            SUM ( 'Table'[ProductC] )
        ),
        BLANK ()
    )

The result is as follows.

By default, it will be blank.

3.png

Select ProductA in the slicer:

4.png

You can download the pbix file from this link: DropDown option to select another chart

Best regards

Rico Zhou

If this post helps,then consider Accepting it as the solution to help other members find it faster.

amitchandak
Super User
Super User

@Anonymous , I think you need bookmarks

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

https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive

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

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