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

Dynamic column export with order

I have a table called Temp as a table structure below

 

Temp
====

col1, col2, col3
11,22,33
44,33,55

 

I need to export this table records into excel. But while exporting column header of the excel should be exported based on the reference table with respective output_name and order.

 

Reference Table
===============

input_column,output_colunm,order
col1,First_value,3
col2,Second_value,1
col3,Third_value,2

Expectedoutput - Excel export

output_colunm
=============

Second_value,Third_value,First_value
11,22,33
44,33,55

Note: Everything should be dynamic, in future we may add addition column in temp table and respective entry should be inserted into reference table.

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Sorry about the delay in getting back to you. I had to figure out a good way of doing this. I *might* even write a blog on it, but I figured it would be mean to keep you waiting for that.

 

The fact that you are using the subscription version makes this possible. I'll demonstrate a job which does this below. You will have to modify it to accommodate your data sources.

 

The job looks like this.....

0683p000009M7XS.png

 



To see the whole post, download it here
OriginalPost.pdf

View solution in original post

6 Replies
Anonymous
Not applicable
Author

First of all, are you using the Open Studio or a subscription version of Talend? The answer will depend upon this.

Anonymous
Not applicable
Author

I am using subscription version of Talend

Anonymous
Not applicable
Author

Sorry about the delay in getting back to you. I had to figure out a good way of doing this. I *might* even write a blog on it, but I figured it would be mean to keep you waiting for that.

 

The fact that you are using the subscription version makes this possible. I'll demonstrate a job which does this below. You will have to modify it to accommodate your data sources.

 

The job looks like this.....

0683p000009M7XS.png

 



To see the whole post, download it here
OriginalPost.pdf
Anonymous
Not applicable
Author

Awesome !!! Perfectly matching my requirement. Thanks for the solution.

Anonymous
Not applicable
Author

No problem. I felt like a bit of a challenge and your question came along at the right time 🙂

Anonymous
Not applicable
Author