Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I am totally a newbie for Talend. With an excel file as an input, I have 2 issues here:
data sample
numbers become _
output
I saw discussion on using tUnpivotRow but I am currently using Talend Open Studio which that component cannot be used in TOS.
Full data is attached.
Your help is much appreciated.
Hello,
Could you please refer to this topic about:https://community.talend.com/t5/Design-and-Development/Transpose-Columns-to-Rows/td-p/40077 to see if tjavaflex component is able to achieve your goal?
Best regards
Sabrina
hi @uganesh ,
I got this data from open source (World Bank) and I believe it is in yearly report. The years are fine in the Excel file but messed up in Talend. So I need clarification why is this happening and how to solve it?
Hi @Catty
As per the naming conventions, you cannot directly use 1960 as a column name.
If you try to add a new column with 1960 in the schema, you will get above error. The variables in schema should start with either an alphabet or an underscore.
So could you please change the naming convention accordingly. When you are making columns to rows, you can use a case statement to convert it to 1960.
Your second query about transpose have already been answered by others.
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 🙂