Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Transponse Fields from tExtractJSONFields

Hi,

 

i have following json-Example and i need to transponse the colums to rows.

Example:

 

{"Employee":

{"Mike":21,"Frank":22,"Mary":44,"RON":25}}

 

At the moment the output with tExtractJsonFields looks like this:

 

Mike | Frank | Mary | Ron

21     | 22      | 44     | 25

 

What i need is to transponse the data, because in this example the name is an external-id, that i need to update a table in my database:

 

Mike | 21

Frank| 22

Mary| 44

Ron | 25

 

How can i solve this problem?

 

Regards

 

Panda

Labels (3)
1 Reply
Anonymous
Not applicable
Author

Hello,

Please have a look at this related topic on community.

https://community.talend.com/t5/Design-and-Development/Transpose-Columns-to-Rows/m-p/40077

Let us know if this solution tJavaFlex is OK with you.

Best regards

Sabrina