Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Ranked item color

Hello,

 

I have three bar charts showing the top 10 best-selling items for the week, for the month and for the year.

Can the columns have the same color if they relate to the same item?

I mean, if "chair" is red in the first chart, "chair" will be red in the second chart and there will be no red column in the third chart because "chair" is not represented.

 

What can I do to get closer to this rendering?

  • RobbeVL's avatar
    RobbeVL
    6 years ago

    1 Dreadfull way would be to remove your "TOP" filter, add all colors manuallly per item and then copy the visual and change aggregation.

    An other way could be to add a "rank/index column" to your ProductDimension , and define conditional formatting based on that index/rank) .

     

    Did i help you here somehow? should i be more concrete? 

     

    Robbe 

4 Replies

  • RobbeVL's avatar
    RobbeVL
    Icon for Impactful Individual rankImpactful Individual

    How many items does your dataset contain ? 

     

    Robbe

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hello,

       

      Currently, I have got 188 items in my dataset.

       

      Grob

      • RobbeVL's avatar
        RobbeVL
        Icon for Impactful Individual rankImpactful Individual

        1 Dreadfull way would be to remove your "TOP" filter, add all colors manuallly per item and then copy the visual and change aggregation.

        An other way could be to add a "rank/index column" to your ProductDimension , and define conditional formatting based on that index/rank) .

         

        Did i help you here somehow? should i be more concrete? 

         

        Robbe