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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Error with Format Pourcentage from Excel to Number in new Excel

Hello, 

 

I have an error that i don't unterstand : 

I did : a fileInputExcel => tMap => tfileOutputExcel.

I wanted retrieve a column with pourcentages (with a single line to unterstand the error : header : 5 Limit : 1)

0683p000009LxcJ.png

 

Then, in tMap, I put Pourcentage in String because in log console, it indicates the error For input : String. At the beginning, I put in Double and also in Float.

0683p000009LxcO.png

 

I run the job : 

0683p000009LxTS.png

Normally, I should have : 0,47 (or 0,468). From where goes out 4.475? 4.7? 0.8?

There is a single line....

 

 

Thanks in advance ! 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Right, that is your cause. Your values are read as Strings with a "." as the decimal separator, but your system is expecting to convert using "," as the decimal separator. 

View solution in original post

15 Replies
manodwhb
Champion II
Champion II

@Beauchamp_J, are you looking for the following?0683p000009LwvL.png

 

Anonymous
Not applicable
Author

@manodwhb

 

This is my consol log : 

0683p000009LxcY.png

 

We can see "0" in tLogRow, but it isn't possible.....

 

 

Little information : My excel file was in format xlsb and i save the same file in format xlsx. I hope that the matter isn't from that format xlsb to xlsx. Talend can't read the format xlsb.

manodwhb
Champion II
Champion II

@Beauchamp_J,can you write to tlogrow from tExcelfileinput?

Anonymous
Not applicable
Author

@manodwhb

 

Write to tlogrow from tExcelfileinput? Sorry, i don't undestand....0683p000009M9p6.png

 

 

manodwhb
Champion II
Champion II

@Beauchamp_J,without tmap connect from tFileInput excel-->tLogRow,and check is this working?

Anonymous
Not applicable
Author

0683p000009Lxci.png

 

It works. Not an error.

It is the tMap which raised a problem. Why?

manodwhb
Champion II
Champion II

@Beauchamp_J,can you post tmap settings.

 

manodwhb
Champion II
Champion II

@Beauchamp_J,use below way in tmap0683p000009LxV5.png

Anonymous
Not applicable
Author

@manodwhb

Forgive my previous post and read here. 

 

So, i take the file with all columns and Talend only keep 0.0% but not the others.

(Dupont Adele, Tintin Amerique, David Xavier, Vin Rouge aren't in the console log (for input string))

 

I show that to you : 

0683p000009LxUk.png  

 

 

 

0683p000009LxQJ.png