Forum Discussion
Displaying data from SharePoint list into a simple bar chart
Hi Tom898
Your data source needs to be transformed so each column name after Date becomes a category with another column corresponding its values. That would be something like
Sort 6
Sort 4
Sort 8
Store 6
Store 10
Store 6
In order to do that, go the query editor, select the first three columns, go to transform and select unpivot. You can rename the generated columns called attribute and value as desired. Those 7s'es should now be in one column with their corresponding values in the next column.
Below is just a sample of what unpivot does. Just ignore the data as it doesn't make sense to unpivot it
How do I then access that back in power BI? Those columns now don't show up in the data tab. This is literally my first time trying to use power BI so don't know anything