BookmarkSubscribeRSS Feed
grig10
Calcite | Level 5

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

3 REPLIES 3
Mike90
Quartz | Level 8

Click on the arrow on the variable in Rows.  Select Add Table Calculation; Calculation Type: Percent of Total; Compute Using: Cell.

 

 

grig10
Calcite | Level 5

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?

Mike90
Quartz | Level 8

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.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to choose a machine learning algorithm

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.

Discussion stats
  • 3 replies
  • 1326 views
  • 0 likes
  • 2 in conversation