Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I am trying to unpivot columns in transform/power query, but its disappearing some rows from that column. Can you help me why its removing these rows?
Solved! Go to Solution.
Unpivot will drop nulls. If you want to keep the nulls, the only way I know of is to replace all nulls with some placeholder character/value (I'm partial to: ☃ ), unpivot, then switch back your placeholders to null.
If that isn't the issue, please provide some sample data that recreates your issue.
Thankyou, @MarkLaf, for your response.
Hi Jenil_Gala,
We sincerely appreciate your inquiry submitted through the Microsoft Fabric Community Forum.
Based on my understanding, the issue you are facing arises because blank cells in Excel are interpreted as null values in Power Query. When using the Unpivot Columns feature, rows containing null values in the unpivoted column are automatically removed by default.
Kindly follow the procedure outlined below to retain the rows with null values:
Additionally, please refer to the following links for more information:
Replace values and errors - Power Query | Microsoft Learn
Unpivot columns - Power Query | Microsoft Learn
If you find our response helpful, we kindly request you to mark it as the accepted solution and provide kudos. This will assist other community members who may have similar queries. Should you have any further questions, please feel free to contact the Microsoft Fabric community.
Thank you.
Thankyou, @MarkLaf, for your response.
Hi Jenil_Gala,
We sincerely appreciate your inquiry submitted through the Microsoft Fabric Community Forum.
Based on my understanding, the issue you are facing arises because blank cells in Excel are interpreted as null values in Power Query. When using the Unpivot Columns feature, rows containing null values in the unpivoted column are automatically removed by default.
Kindly follow the procedure outlined below to retain the rows with null values:
Additionally, please refer to the following links for more information:
Replace values and errors - Power Query | Microsoft Learn
Unpivot columns - Power Query | Microsoft Learn
If you find our response helpful, we kindly request you to mark it as the accepted solution and provide kudos. This will assist other community members who may have similar queries. Should you have any further questions, please feel free to contact the Microsoft Fabric community.
Thank you.
Hi,
Thanks for reply. I think it was the blanks in my excel data that was causing issues. You are right.
Unpivot will drop nulls. If you want to keep the nulls, the only way I know of is to replace all nulls with some placeholder character/value (I'm partial to: ☃ ), unpivot, then switch back your placeholders to null.
If that isn't the issue, please provide some sample data that recreates your issue.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 |