Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Excel export treats qlik text fieds as mixed that causes troubles with long numbers

I have a trouble with exporting text fields to Excel using Send to Excel. When the field contain a long number (12 digits or more) the results are displayed in exponential form (like 6.6722E+11). As these are the IDs it is not a good idea to leave them displayed that way. Can I force the export to put such columns in excel in the Text format? Thanks in advance!

1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

Hi

look at the attachment.

Regards

ASHFAQ

View solution in original post

17 Replies
Not applicable
Author

FIND THIS ATTACHMENT

when u send long numbers to excel, they are implicitly formatted to text.

try send to excel by right clicking on listbox. place the cursor on 1 of the rows in excel and see the message

Not applicable
Author

find the screen shot

Not applicable
Author

No difference for me whether right-click or upper right angle icon. What am I doing wrong? !

Not applicable
Author

PS: I'm exporting from a straight table chart, if it makes any difference...

ashfaq_haseeb
Champion III
Champion III

Hi Alexander

Try to convert your field to number and export as shown below.

num(yourfield,'#,###,###,#00')

Regards

ASHFAQ

Not applicable
Author

The contents of the field is 95% numbers, but the other 5% contain letters and starting zeros that must be preserved. So I bet I will have errors in convertation in the 1st variant and leading zeros truncation in the second one.

ashfaq_haseeb
Champion III
Champion III

Hi

can you post some sample data

Regards

ASHFAQ

ashfaq_haseeb
Champion III
Champion III

Hi

you can try by converting it to text

text(yourfield) as Field


Regards

ASHFAQ

Not applicable
Author

Tried that already. That doesn't change a thing.