BookmarkSubscribeRSS Feed
hiteshbhatt
Calcite | Level 5

Hi,

I have a bar and waterfall graph with years(Date) on X-Axis and Population-predicted on Y grouped by Gender (See the picture attached). I want to add X-Axis line for current year.  How do I add that line in SAS-Viya.

2 REPLIES 2
ballardw
Super User

How about the code you are currently using? Since there are multiple ways such a graph might be made it helps to have  your code so we can suggest something easily compatible. If we have to guess as to the code results can be problematic.

 

Is your Year variable a SAS DATE value with a format like YEAR4 used or a simple number like 2024?

hiteshbhatt
Calcite | Level 5

I have years as SAS Date Shown as Year4. The graph I attached is created using EXCEL, just to show, what I wanted to do in SAS-Viya.

Thank you,

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!

Discussion stats
  • 2 replies
  • 503 views
  • 0 likes
  • 2 in conversation