I have multiple Data sources . Here in the data file attached I Have majorly 5 columns and 3 data sources. I want to rename the Month columns like forecast 1, Forecast 2, Forecast 3. Also after renaming column I want to union the data in such a way that RM 24242 will have 3 records in my output table.
The file attached is Just for test purpose. In actual there are 12 Month columns. Its actually a rolling forecast file which generates each month. But there will be fixed number of columns every time that is 12 which we need to rename from Forecast 1 to Forecast 12. If you can help me with the logic of these three files it would be really greateful.
I am able to do this manually but there are around 12 months and have 12 data sources. Is there any macro or something where I can automate this process