Hey, sorry for late, I am attaching a screen shot of how I want the final dataset to look like. Data is not original but representation of it. Please notice that number of product (pm) are thousands.
This kind of transformation is usually done with SAS Transpose procedure. We can propose some working code to get from a precise dataset structure to another, given enough detail (i.e., variable names and types).
PG
PG
2025 SAS Hackathon: There is still time!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!