Hi
Could you please help me quickly while am building dual axis bar chart...trend line showing at bottom, not trend pls help
Data
Product | GRO-Prem | SA | % |
A | 2056 | 100000 | 4% |
B | 7950 | 100000 | 16% |
C | 4450 | 100000 | 9% |
D | 8525 | 50000 | 17% |
E | 8849 | 100000 | 18% |
in SAS:
Expected:
Srinivas
Hi
In your custom bar line chart, change the axis of the line chart to Right Y-axis and ensure to edit the role of the bar chart to have "Allow multilple Data assignement" selected.
Line Chart: On Properties Tab of custom chart
Bar Chart: On Roles Tab of Custom Chart
The final assignement of roles on the custom chart:
Will give you the required result:
You have to make sure that GRO-prem and SA both share the left-hand y-axis, and the %-age measure needs to use the right-hand y-axis. Right now GRO-prem and SA define the axes, and that pushes the percentage line to the bottom.
Thanks for reply, Am trying to the same way but % should come line chart. Gro-Pre and SA should come bar charts,
Thanks,
Srinivas
Hi
In your custom bar line chart, change the axis of the line chart to Right Y-axis and ensure to edit the role of the bar chart to have "Allow multilple Data assignement" selected.
Line Chart: On Properties Tab of custom chart
Bar Chart: On Roles Tab of Custom Chart
The final assignement of roles on the custom chart:
Will give you the required result:
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.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.