I have the following data structure:
Country # Sales 01.2019 # Sales 02.2019 # Sales 03.2019
France 42 84 21
Germany 10 64 12
Spain 29 66 43
And need to transpose it to this structure:
Country Month # Sales
France 01.2019 42
France 02.2019 84
France 03.2019 21
Germany 01.2019 10
Germany 02.2019 64
Germany 03.2019 12
Spain 01.2019 29
Spain 02.2019 66
Spain 03.2019 43
Is there an easy way to transpose such structures instead of copying everything manually to the desired structure?