BookmarkSubscribeRSS Feed
Calcite | Level 5

I have created a stacked bar chart with a line that uses a Y2 axis.  I did this in sgrender because I actually creating 4 different plots that represent 4 different areas in a dashboard like configuration.

The next step is to create a drill down on this dashboard.  Think of this first plot as representing overall Area and now I need to create this same plot for the sub areas of which there are 6, but I would like to make it so the data drives the identification of the subareas because I don't know that there will only ever by 6.

My hang up is creating a Y2 axis in either an sgpanel with a panelby or the sgrender in a datalattice or datapanel option.  I am using SAS 9.2 btw.

Any feedback would be appreciated.

stacked bar with Y2 line.png



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 0 replies
  • 1 in conversation