How to combine a certain selected number of columns in a table into a single column in Power BI?
I have a raw data file as shown below:
There are 5 columns (D1-D5) which denote the number of orders bought in each of the five days of the week.
I want to combine these 5 columns into a single one without changing the data values in any way. To do that I tried to use the Transform>Transpose option in Power Query but the results were as follows:
I want to rework the table such that the data and columns are arranged as follows:
I want one column to denote the day of the week on which the order from each product was taken and the other column to denote the number of orders. Does anyone know how to do so in Power BI or Power Query?