Hello, everyone!
I need to find the maximum and minimum values in the lines and highlight them in different colors, how is this best done?
I can not compare two columns in compute function.
2 | 7046 | 5907 | 8421 | 6937.71 | 6937.71 |
3 | 6071 | 5907 | 8421 | 6937.71 | 6071.00 |
4 | 5907 | 5907 | 8421 | 6937.71 | 5907.00 |
5 | 7094 | 5907 | 8421 | 6937.71 | 6937.71 |
6 | 7910 | 5907 | 8421 | 6937.71 | 6937.71 |
7 | 6115 | 5907 | 8421 | 6937.71 | 6115.00 |
compute total;
--->
compute min1;
if total = min1 then call define ('total','
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.