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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Edit a .csv file

Hello, everyone.

 

Since I'm new in this Talend World.

I'm exploring the tool, but I was wondering how could I categorize the information of a .csv file, also, I would like to know how I can sumarize the quantities included in that file and if it's possible to organize the information in alphabetical order.

 

Best regards and thanks for your help.

Labels (3)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

11 Replies
TRF
Champion II
Champion II

Anonymous
Not applicable
Author

Thanks a lot for your help.
I was trying to use the tsortrow to order in alphabetical ascendent order the content (products column) on the csv file and multiplicate two columns with the aggregaterow, showing the results into an output csv file, but I couldn't.
The files you shared to me were helpful in some way 0683p000009MACn.png

Anonymous
Not applicable
Author

Thanks a lot for your help.
I was trying to use the tsortrow to order in alphabetical ascendent order the content (products column) on the csv file and multiplicate two columns with the aggregaterow, showing the results into an output csv file, but I couldn't.
The files you shared to me were helpful in some way 0683p000009MACn.png
Anonymous
Not applicable
Author

Hi,

What's the error message you are getting? Could you please elaborate your case with an example with input and expected output values?

Best regards

Sabrina

Anonymous
Not applicable
Author

I'm using the tmap component to make a mathematical operation (multiplication) with the values of two different columns (price and quantity, string type as the SMUL requires) and then when I have checked all the values content in every single component I'm using and verify all of them to be string type, this message appears:0683p000009LrsF.png0683p000009Ls49.png0683p000009Ls5U.pngI don't know if I'm doing or using the correct sentences or flow.

Do you have any idea of why this is happening?

 

Thanks a lot 0683p000009MA9p.png

Best regards

Anonymous
Not applicable
Author

Look at the data types for the columns you are getting your data from. They are Strings. In fact, it looks like all of your columns are Strings. You need those columns set as Double. Go to your file component schema and alter the data type to Double. You will need to make sure that all of your column types are correct to carry out calculations like this.

Anonymous
Not applicable
Author

Thank you!

I already set the columns as double, but when I check the .xls output file, it has no data, only the headers 0683p000009MPcz.png and the .csv original file has data, so I don't know what else I could do.0683p000009LriO.png0683p000009Ls5e.png

 

This one is the original file:

0683p000009Ls5a.pngIt is possible to order the data in alphabetical order?

I'm sorry if I'm making so many questions, I really appreciate your help.


Captura de pantalla (8).png
Anonymous
Not applicable
Author

You will need to show us your input file component config, your tAggregateRow config and let us know how many rows pass through the job when it runs. I'll look again in the morning to see if this has been answered while I am away

Anonymous
Not applicable
Author

I realized I had the property "Catch lookup inner join reject" (in the tmap) as false, then I set it as true and it worked.

 

Thanks a lot for your support.