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 Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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