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

unpivot in postgresql

Hi, 
I have a table in postgreSQL, that needs to be unpivoted (columns to be converted in to a rows) to create a dimension. Could anyone suggest me a methodology to adopt this requirement? Kindly help. 
Labels (2)
5 Replies
Anonymous
Not applicable
Author

Hi,
Could you please take a look at this KB article about:TalendHelpCenter:Converting columns to rows to see if it is what you are looking for?
Best regards
Sabrina
_AnonymousUser
Specialist III
Specialist III

Hi,
Thanks for your reply. I see that article explains about unpivot. But it is from a file delimited and not from a db table. Is there anything I need to do additional from the steps mentioned in the article to connect from a db table rather a delimited file? Kindly confirm.
Anonymous
Not applicable
Author

Hi,
You can use a db table as your input source.
The workflow should be: tpostgreSQLinput-->tUnpivotRow-->tMap-->tLogrow.
Best regards
Sabrina
_AnonymousUser
Specialist III
Specialist III

I will try and post the status. Thanks a lot.
Anonymous
Not applicable
Author

Hi,
Feel free to let us know if it is OK with you.
Best regards
Sabrina