Data set growth has 50K records
here are sample data set looks like, I would like to compare by node,period of growth value (REC1-Rec2)> +-5000 the select the Node or display the node
this needs to repeated all the records by node and period only
| STRATEGY | NODE | Period | Fast_GROWTH_DAY_NUM | GROWTH_VALUE |
| Mar9QF Strategy | 892922 | 1 | 1 | 32468.1295 |
| MML Strategy | 892922 | 1 | 1 | 32468.1295 |
| MML Strategy | 892922 | 2 | 1 | 36007.7485 |
| Mar9QF Strategy | 892922 | 2 | 1 | 36007.7485 |
| Mar9QF Strategy | 892922 | 3 | 1 | 36007.7485 |
| MML Strategy | 892922 | 3 | 1 | 36007.7485 |
| MML Strategy | 892922 | 4 | 1 | 36007.7485 |
| Mar9QF Strategy | 892922 | 4 | 1 | 36007.7485 |
How to do this SAS
In this sample data, can you indicate which data you want to compare with which data?
Please post data in usable form and show what you expect as result.
The lag-function can be used to access values in prior observation(s).
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.