Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
SonOfJeffGoldblum
Contributor III
Contributor III

Convert JSon value to column header

I have a SQL Server loading a column, AnswersJson and would like to convert the values within Question to be a column header with the AnswersJson portion "AnswerText" to associate with that column.

Id

QuestionQuestionNumberAnswersJsonCreatedDate
1How was your service5[{"AnswerPart":null,"AnswerColumn":null,"AnswerText":"Great","AnswerOther":null,"AnswerExportValue":"","AnswerComment":null}]7/29/2019
2How could we have done better6[{"AnswerPart":"","AnswerColumn":"","AnswerText":"service time","AnswerOther":null,"AnswerExportValue":"","AnswerComment":null},{"}]7/29/2019
3Would you recommend us7[{"AnswerPart":null,"AnswerColumn":null,"AnswerText":"yes","AnswerOther":null,"AnswerExportValue":"","AnswerComment":null}]7/29/2019
4Do you have any questions8[{"AnswerPart":null,"AnswerColumn":null,"AnswerText":"No","AnswerOther":null,"AnswerExportValue":"","AnswerComment":null}]7/29/2019
    

 

 

 

Expected Result:

IdHow was your serviceQuestionNumberCreatedDate
1Great5 

 

Thank you

 

Everything not saved will be lost
— Nintendo Quit screen message
10 Replies
SonOfJeffGoldblum
Contributor III
Contributor III
Author

When I load data, I get "No qualified path for file" error.
Everything not saved will be lost
— Nintendo Quit screen message