Forum Discussion

BI_user's avatar
BI_user
Icon for Advocate I rankAdvocate I
8 years ago
Solved

one legend for multiple visuals and group the visuals

I have 3 visuals that I want to group.

I'd like to have 1 legend for these 3 visuals and one common title with subtitles?

Is this possible?

 

  • Anonymous's avatar
    Anonymous
    8 years ago

    BI_user Just some thoughts to pursue.

    First, create a color theme with all the colors in the order you want. A simple tool to create this JSON theme can be found here at PowerBI.tips. -> Under the Theme Generator (there are multiple versions)

    Second, create a bar chart with the legend, and maybe a made of measure with a value of 1. Remove all x/y axis/title etc from the chart but leave the legend.

    This can be your overall legend for the 3 visuals, at which point you could disable the legend from all the donut charts. It would also work as a slicer for all of them.

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    BI_user Just some thoughts to pursue.

    First, create a color theme with all the colors in the order you want. A simple tool to create this JSON theme can be found here at PowerBI.tips. -> Under the Theme Generator (there are multiple versions)

    Second, create a bar chart with the legend, and maybe a made of measure with a value of 1. Remove all x/y axis/title etc from the chart but leave the legend.

    This can be your overall legend for the 3 visuals, at which point you could disable the legend from all the donut charts. It would also work as a slicer for all of them.

    • jpriemer's avatar
      jpriemer
      Icon for Advocate I rankAdvocate I

      Hi Anonymous , I'm giving this a try but after turning everything off, I still see a single dot. If I remove the values from my table, then the legend disappears. Any ideas on what I'm doing wrong? 

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi, you're on the right track, just need to further configure your 'legend visual' and send it to the back so the others cover the rest and only the legend shows, here's all described in detail:

        options to select

         

        Please give it a thumbs up if you find it helpful!

         

        Best,

         

        Anonymous