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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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