BookmarkSubscribeRSS Feed
debopriya85
Calcite | Level 5

Hi, Can I create a dynamic reference line in schedule chart? based on current date.

Currently I can only set a specific date as reference line in schedule chart. Any workaround?

Appreciate your suggestion please

1 REPLY 1
acordes
Rhodochrosite | Level 12

Yo can use graph builder.

 

_refline= parameter

 

data public.test(promote=yes);
format starting ending ddmmyy10.;

init='12sep2022'd;
retain init;

do task = 'extract', 'prepare', 'model', 'deploy';
starting=intnx('days', init, rand('integer', 0, 3));
ending=starting + abs(ceil(rand('normal', 10, 3)));
output;
init=ending;
end;

run;

pic2.pngpic.png

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Tips for filtering data sources in SAS Visual Analytics

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.

Discussion stats
  • 1 reply
  • 759 views
  • 0 likes
  • 2 in conversation