cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Create Stacked Bars diagram?

BenAvdicevic
Honored Contributor

All,

I am trying to create a Stacked Bars diagram but don't know how.

I also don't see "Stacked Bars" documented anwhere.

For example,  I am trying to create Applications by Portfolio - stacked by Obsolescence Risk.

BenAvdicevic_0-1736183347826.png

I have enabled the option "Display Stacked Bars"   - but it doesn't "stack" the Obsolesce Risk.  

What am I missing?

7 Replies

BenAvdicevic
Honored Contributor

Thank you @OLeGuellec @PBessodes @AlanB !

I was able to follow the step-by-step instructions provided by @PBessodes and create a stacked-bar from my dataset.  

I think there is definitely room to improve how this feature works - so users can create much easier.  But, I'm happy that now I know how to do it.

Thanks again.

OLeGuellec
MEGA
MEGA

Hi,

to build a stacked bar chart you need an underlying matrix data structure (you want to count items in cells against two categories)

for instance, you can do the following :

  • build a suitable report data set definition : e.g. portfolio > (line) > application > current state
  • in preview, do an instant report, and select "matrix" kind
 

OLeGuellec_1-1762515483387.png

by default, you have a bar chart, albeit not stacked :

OLeGuellec_3-1762515630637.png

 

then you need to apply a stacked bar style; to test this : 

  • save as report
  • edit the bar chart style and select "stacked" = yes

OLeGuellec_2-1762515600418.png

 

note : for a production proof report template, you probably need to manage the styling in a more robust way 🙂

PBessodes
MEGA
MEGA

Hi,
There is a way (thanks to our internal team experts...). Here are the steps on an example where I want to "stack" states of application of a portfolio (to adapt to your own case).
First: create a report dataset with required data. In our example a report dataset that contains portfolio name, application name and application current state

PBessodes_0-1762515282943.png

Then create an instant report selecting the matrix (barchart, radarchart) renderer and set parameters as:

PBessodes_1-1762515407206.png

You should obtain:

PBessodes_2-1762515459255.png

And selecting the Bar Chart view:

PBessodes_3-1762515496502.png

To "stack the bar" you need to edit the report

PBessodes_4-1762515658420.png

Select "Edit Style..." button for the series

PBessodes_5-1762515693545.png

Select "All Series"

PBessodes_6-1762515752339.png

And select "Display Stacked Bars"

PBessodes_7-1762515787962.png

Result:

PBessodes_8-1762515939291.png

 

AlanB
New Contributor

I've managed it!

I was flicking through reports, looking for inspiration for a demo, and thought, "I wonder if those bars will stack?" and they do.

The report I was looking at was the Project Capability Deliverable Matrix (specifically, "Customer Satisfaction - Project Capability Deliverable Matrix" in the presales content, if you have that in an environment. I can't remember if you do) and instead of the "Matrix" view, I chose "Bar Chart". What it now shows me is the number of fulfilling building blocks per Business Capability (x-axis) that will be impacted by a Project (y-axis). If a Project impacts two or more Business Capabilities, the separate bars are stacked instead of sitting beside each other. I've attached a screen capture of the example below.

I'm not sure if this works for more than "counts against matrices", but there's at least one instance where it works.

I hope that's some help,

Alan

BenAvdicevic
Honored Contributor

@PBessodesAs always, I'd appreciate any suggestions.

BenAvdicevic
Honored Contributor

 

Here is an example of what I'm trying to do.

BenAvdicevic_1-1762012359397.png

 

BenAvdicevic
Honored Contributor

Is anyone able to use Stacked bars in HOPEX?  I just can't figure it out.