Forum Discussion

amaaiia's avatar
amaaiia
Skilled Sharer
2 years ago

Dinamically open new visualization when selecting values from first one

I have this data:

Type1Type2Type3Amount
aaccgg7
aacchh10
aaddkk5
bbccgg2
bbddkk5
bbddhh8

 

I want to display by default a bar chart with the values of TYPE1:

 

, and when selecting one of the bars, that is, click on it (i.e. orange bar), the TYPE1 chart disappears, and in its place appears the TYPE2 chart with the values corresponding to TYPE1=bb:

 

Is it possible to do this dynamic selection and filtering in Power BI?

1 Reply

  • christinepayton's avatar
    christinepayton
    Most Valuable Professional

    You probably want to unpivot your types into a single type field, then you can just use it in a single-select slicer.

     

    But if you don't want to do that, you could use field parameters for each of the types and drop that in a single-select slicer instead. It's going to be slicer-based or button-based either way, clicking the bar is linked to other behavior already (drill-through and cross-filtering).