Forum Discussion
aktripathi2506
Helper IV
10 years agoReplacing columns with rows
Hi, In my table suppose I have 5 column A, B, C, D and E. I have values for them. Example: A B C D E 5 22 15 32 4 10 4 8 25 9 11 9 6 4 4 21 4 8 12 11 ...
- 10 years ago
In Power BI Desktop, you can directly use your large input table and return the average of each item without exporting the data at all. Please refer to steps below:
- Add an Index column(from 1).
- Right click on Index column, select "Unpivot other columns".
- Click on "Attribute" column, select "Group By".
- Set "Group by" like below. You will get expect result.
Regards,
- Add an Index column(from 1).
aktripathi2506
Helper IV
10 years agoHi,
I have a big input table, which has several columns including columns A, B, C,D and E.
2nd table I am getting is as a result. Do you know any way to use this table as an input other than exporting the data and uploading it again to power bi and then doing unpivot the columns.
Because I want less mannual efforts.
Thanks.
v-sihou-msft
Microsoft Employee
10 years ago
In Power BI Desktop, you can directly use your large input table and return the average of each item without exporting the data at all. Please refer to steps below:
- Add an Index column(from 1).
- Right click on Index column, select "Unpivot other columns".
- Click on "Attribute" column, select "Group By".
- Set "Group by" like below. You will get expect result.
Regards,