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','
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.