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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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