Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello, I wonder if anyone could advise on how best to start transforming this data for analysis/presentation in a pivot or matrix table:
I am struggling with the category/value columns. Do I need to unpivot the category column (I did try this but it didn't seem to help)?
Many thanks,
A
Solved! Go to Solution.
Thanks to your link @amitchandak I discovered it's pivot I need on category column, not unpivot! I am a step closer, thank you.
@adavid999 , if there are not too many values then you should unpivot. What is the problem you are getting.
If this does not help
https://radacad.com/pivot-and-unpivot-with-power-bi
Refer if these can help
https://docs.microsoft.com/en-us/powerquery-m/table-unpivot
https://community.powerbi.com/t5/Desktop/need-help-with-M-query-to-unpivot/td-p/196255
Thanks to your link @amitchandak I discovered it's pivot I need on category column, not unpivot! I am a step closer, thank you.
Thanks @amitchandak do you mean unpivot on the category and value column (there are not too many categories - 17). When i try this I don't get the results I expect. I will look at the links you sent, thank you.
Sorry @Greg_Deckler yes, I sent that in desperation after staring at it for hours....I would like the category repeating items to be columns and region/year/level/POLAR/category etc to be filters or nested row labels.
Cheers,
A
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 38 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 65 | |
| 30 | |
| 26 | |
| 25 |