Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello!!!
I have a table connected to SQL that outputs a column for each month.
For working it better in Excel, I need to transforme that 12 columns to only 2... a first one for the values and the second for the respective month (that at this moment are the column titles).
In your opinion, which will be the better option (or if it dependes, advantages and desavantages):
a) a SQL command (not familiar to me);
b) use unpivot in Query Edit
Solved! Go to Solution.
Using the Unpivot feature in the Query Editor should work, but just keep your eye on how long it takes. If it can handle the transformation in an acceptable time, this will be the easist way to manage it.
If you are talking big data volumes then SQL will be faster, but the SQL will be more complex.
Using the Unpivot feature in the Query Editor should work, but just keep your eye on how long it takes. If it can handle the transformation in an acceptable time, this will be the easist way to manage it.
If you are talking big data volumes then SQL will be faster, but the SQL will be more complex.
So SQL it may be the best solutions in the long term, because I wil not to worry if the Query Editor handles diferent databases.
Thank you so much.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 64 | |
| 50 | |
| 45 |