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

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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
  • 1429 views
  • 0 likes
  • 2 in conversation