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','
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.