BookmarkSubscribeRSS Feed
Gopi2
Fluorite | Level 6

 Dear SAS users

My data set has 24 columns of dates (including death date) of Lung cancer patients, where each date represents a procedure done for their disease. I want to create a figure where a line connects all these events till their death date. 

Please help me with this 

 

2 REPLIES 2
MarkusWeick
Barite | Level 11

Hi @Gopi2,

one approach could be to restructure the data into a table with one date column and a row for each patient ID / procedure done combination.

Then you could use a line graph with a line per patient.

Path Analysis could be another approach, for which you also would need the data restructuring.

Best

Markus

Please help to keep the community friendly.
Like posts you agree with or like. Mark helpful answers as “accepted solutions”. Generally have a look at https://communities.sas.com/t5/Getting-Started/tkb-p/community_articles

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
  • 2 replies
  • 1189 views
  • 1 like
  • 2 in conversation