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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 1905 views
  • 0 likes
  • 2 in conversation