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.
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →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.