Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
I am working with a set of demographic data and my data source is on SQL Server. To properly analyze and visualize it in Power BI, I need to transpose some columns into rows, preferably in a new table. I appreciate any recommendations to do that either in Power BI or in SQL server.
Here is how my data currently looks like:
This is how I would like it to look like:
I have imported a portion of the data into Excel to provide the above screenshots.
Solved! Go to Solution.
@monibuw , Use unpivot in power quey
https://radacad.com/pivot-and-unpivot-with-power-bi
My Video
https://www.youtube.com/watch?v=2HjkBtxSM0g
@monibuw , Use unpivot in power quey
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 21 | |
| 17 | |
| 11 |
| User | Count |
|---|---|
| 58 | |
| 55 | |
| 43 | |
| 36 | |
| 35 |