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: 
rohit1804
Contributor III
Contributor III

Columns to row transformation

Hi,

I have Column A  with single row which has value as "SMILE" . My requirement is instead of single row i want rows which has each character of  "SMILE" is single single rows.

Input  :                 A

                      --------------

                      SMILE

 

Desired Output :  A

                        -----------

                            S

                            M

                            I

                            L

                            E

Please Assist me ...

 

Labels (2)
1 Solution

Accepted Solutions
rohit1804
Contributor III
Contributor III
Author

Hi thanks for reply my source is file but I don't want to seperate data in columns I want to seperate it into multiple rows from single row....

View solution in original post

3 Replies
Anonymous
Not applicable

Hello,

Is your source a delimited file? Where is it from? You could read the content which is actually delimited in a column and use this column in the tExtractDelimitedFields component as input field. This content will be separated into new columns based in the delimiter.

Best regards

Sabrina

rohit1804
Contributor III
Contributor III
Author

Hi thanks for reply my source is file but I don't want to seperate data in columns I want to seperate it into multiple rows from single row....
Anonymous
Not applicable

@rohit1804 

 

Please refer the below job flow for your use case solution.

0683p000009M5y9.png

 

0683p000009M5qL.png

0683p000009M5yE.png

 

0683p000009M5yJ.png

 

The function used in tMap is as shown below.

 

row1.data.replaceAll("(.{1})", "$1;") 

Could you please spare a second to mark the topic as resolved since your query has been answered. Kudos will be a bonus 🙂

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂