Stumped: when you need to Pivot before visualising
I have a very large dataset consisting of itemised sales by date, with columns for category, subcategory, channel of sale e.g. online/offline, price.
I would ONLY like to create visuals based on aggregated data, such as count of sales by category, count of sales by channel. This is not just 1 isolated count/pivot table, but a series of around 10 pivots/transformations that I want to do before making any visuals. Also, I don't want to display the pivoted data in my report using Matrix, rather I want to create a graph visual from the aggregated data.
I would also like to do multi-variable pivots e.g. with channel of sale (online/offline) in the columns, and product subcategory in the rows and count of sales as the values
FYI: I know how I can run the pivots in excel and import into PowerBi. But this just makes me favour using excel for the whole process. Is there a way I can do the pivots efficiently in Powerquery so I don't have to leave PowerBI? I.e. 1. import raw data,2. Pivot like crazy, 3. create graph visuals from this aggregated data?
Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.
Community Support Team _ Rena If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If the above ones can't help you, please provie some raw data (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.