Hello, I would like to generate a stacked bar chart in Enterprise Miner where the bars are all 100% while showing the relative proportions by the group variable.
The options tried so far:
- the Graph Explore node does not seem to provide this functionality;
- EM macros within a SAS Code node do not seem to support the g100 option for the bar graph.
The current graph is attached, the goal is to normalize the stacked bars to 100%.
Any advice would be highly appreciated.
Grig
Click on the arrow on the variable in Rows. Select Add Table Calculation; Calculation Type: Percent of Total; Compute Using: Cell.
Thank you very much for your reply! However I don't seem to find this option in the Graph Explore node of Enterprise Miner. Is this the node I should be using?
Sorry, I got my wires crossed. I gave you instructions for doing this in Tableau. I would have to research how to do this in SAS EM.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.
Find more tutorials on the SAS Users YouTube channel.