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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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