Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Several Values for Stacked Column Chart

Hello everyone,

I have this dataset:

DimensionColumn1Column2Column3Column4
row1223277Extern
row2114368Extern
row3445487Extern
row4336598Intern
row5557689Intern
row6667887Intern

 

And I need to represent a chart where divides each column (column1, column2 and column3) by Extern or Intern (it's going to be the Legend taken from column4) and it is possible to do it with the Stacked Column Chart, but the difference here is that I have several rows for Axis Field and several columns for Values Field... and this chart looks like only accepts one single column in the Values Field because it doesn't allow to put more than one...

 

 

Please, anyone could help me to show the values of column1, column2 and column3 divided by the legend (Extern and Intern). This is what I would like to get:

 

Thank you so much, I will appreciate your help.

Have a nice day.

Ana M.

 

 

 

  • Hi Anonymous ,

     

    For achieving this you need to unpivot the values columns. On the query editor select the column 1,2 ,3 and then unpivot:

    It will give you the result below:

    Rename the columns has you wish and do your chart using the following setup:

     

     

     

     

3 Replies