Hello,
I have the data extracted from SAP APO using listcube function and all the data are presented horizontally.
Questions
Yes, you can
Reshaping your data to a long format would make things much easier by far, and have in mind that this is not going to affect your raw data and you can easily get back to a wide format after the forecasting is done.
If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.
Thank you! Would be great if you can provide the code or what package to use to reshape the data. Also how to define the a time series starts from a particular column or row?
You could use gather() or pivot_longer() from tidyr package for that purpose
gather()
pivot_longer()
tidyr
Sorry I don't understand your question, as I said before, if you need specific help, please provide a reprex as explained in the link I gave you.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.