I have a list of products with weekly prices. I want Power Query to generate a new column with the week number in each row. That means that the name of column 2 has to be in each line of my table, as in my example underneath. This would allow me to include several files with a long list of products and prices, and compare the price for each product over a period of time. Each file has the prices for only one week.
Can anyone help me with this?
Example:
Can anyone help me with this?
Example:
Product name | 35 - 2020 | Week |
---|---|---|
Product 1 | 10 | 35 - 2020 |
Product 2 | 12 | 35 - 2020 |
Product 3 | 5 | 35 - 2020 |
Product 4 | 15 | 35 - 2020 |