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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 352 views
  • 0 likes
  • 2 in conversation