Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Dom87326
Helper II
Helper II

Unpivot other columns with null values

Hello all, 

 

I have the following table: 

Dom87326_2-1651521115262.png

 

I'm trying to make it look like this, by unpivoting other columns except 'Respondent name' and 'Respondend unique ID'.

Dom87326_3-1651521149442.png

However I loose respondent 28230144 and city San Antonio. Is it possible to perform unpivot operation while keeping the null values?

Thanks!



1 ACCEPTED SOLUTION
dhruvinushah
Responsive Resident
Responsive Resident

Try replacing the null value with a blank space in the four questions columns that you are unpivoting. 

dhruvinushah_0-1651522713658.png


After you have done this, select the Respondent Name and Resp ID column and press the "Unpivot Other columns". 

This will work to give you the San Antonio result in your Unpivot. 

 

Please give thumbs up and mark this as the solution. Thanks.









View solution in original post

1 REPLY 1
dhruvinushah
Responsive Resident
Responsive Resident

Try replacing the null value with a blank space in the four questions columns that you are unpivoting. 

dhruvinushah_0-1651522713658.png


After you have done this, select the Respondent Name and Resp ID column and press the "Unpivot Other columns". 

This will work to give you the San Antonio result in your Unpivot. 

 

Please give thumbs up and mark this as the solution. Thanks.









Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors