Forum Discussion
HELP with table
Hello,
When I upload my sharepoint list to power bi it uploads correctly and in the right order when I look at the query editor BUT when I add the data to the table values or matrix everything is off. How can I organize the power BI table to be in order like in the query editor?
please help
order should look like thistable is not organized
7 Replies
- MitchMResolver II
If I am understanding correctly, you want the table to look like the sharepoint list, which is unsorted. PowerBI will autosort based on first column added. One way around this would be to add an index column in the query editor and then sort the table on this. Go to "Add Column" and then Select "Index Column" This shoul create an index based on the native sort order.
- AnonymousNot applicable
MitchM jdbuchanan71 Anonymous is there a way I can organize it by rows?
it should go like this...... even though they are all on the same column I would like to divide the columns by sections like the firs picture. When I add the first column it adds everything at once and it looks all crowded instead of being in sections within the column
POWER
-project 1
- project 2
O&G
-project 1
-project 2
- jdbuchanan71Super User
If you add the index column to your PowerQuery and sort by it, the blank rows that break up the sections will be in the correct spot in your table.
- AnonymousNot applicable
I'm just taking a stab here as I'm not as savy as most in this forum. I can clearly see that when you put the data in the matrix, it is sorting alphabetically in column one and you don't want that. I would add an "index column" at the end of your table in the query editor. Then, put your data in the matrix and sort it by the index column. Then you could hide the index column. I hope this helps.
- jdbuchanan71Super User
In the PowerQuery editor, add an index column to the imported table.
Then, you can either
- In the model set the sort by column of [column 1] to be the index column.
- Pull the index column into your table, sort it by that then set it to be so narrow you can't see it.
Might I also suggest, in the PowerQuery editor adding the following steps.
- Remove top 1 row
- Use top row as header
That way our table will have the same column headers as our sharepoint list.