Stacked Bar chart not working

Hello Helical Insight,

I am using Helical Insight 4.0. I can see the stacked bar chart visualization in the default charts options. However, when I apply it, the result is incorrect. I am using 2 dimensions and 1 measure. What am I doing wrong?
imgpsh_fullsize_anim
Ideally I would like to show multiple dimensions and one measure.

Thank You,
Netta.

The default stacked bar works with 1 dimension (for the X axis) and multiple measures (one for each section of the stacked bar). Hence, your data should look like below:
image

Once your data is in the above format, you can select the stacked bar visualization.
image

You may find that the order of the sections is not the same as the order of the columns.
In your case since you want to have multiple. For defining the order of the sections as per your requirement, kindly StackedBar.zip (1.5 KB) and place it in the hi-repository. Use this VF file to create stacked bar chart.

You can select the columns that you want to use to generate the stacked bar chart and then call the VF by clicking on the VF option in the visualization ribbon and selecting StackedBar.efwvf

This blog will be really helpful how to use VF