Hi all,
the data is in txt file.
in above the product wise data the week numbers are available. these are in order. consider the min and maximum week number to that particular product and in between any numbers are missing then include that numbers and assign value to zero. i clearly mention in below desired output.
How this process is done.
Your valid comments are welcome.
Thanks in advance.
If you have SAS/ETS then PROC EXPAND would be the procedure. If you don't then a simple data step will do the job.

Thanks a lot sir.
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!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.