This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello,
I had posted about this topic earlier but I realized that while the Power Query solution works, it's not ideal for large data sets. My .pbix file keeps crashing so I am hoping I can solve this with Python. Here is the link to the earlier post with screenshots of my data and how it should look: https://community.powerbi.com/t5/Desktop/Unpivoting-with-Multi-Header-Columns/m-p/886699#M425018
I'm hoping to get my data set to transpose/pivot/unpivot with Python. Alternatively, what could be the best way to address this problem.
Thank you in advance for your help!
Solved! Go to Solution.
Hi @Anonymous ,
You could try melt() function in Python.
Here is the link for your reference.
https://dfrieds.com/data-analysis/melt-unpivot-python-pandas
Hi @Anonymous ,
You could try melt() function in Python.
Here is the link for your reference.
https://dfrieds.com/data-analysis/melt-unpivot-python-pandas
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 28 | |
| 24 | |
| 23 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 52 | |
| 49 | |
| 39 | |
| 20 | |
| 20 |