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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Export to Excel conversion error

Hi guys,

I have the following table of values:

AGRINET PRODUCT CODEPRODUCT DESCRIPTION (Eng)CUSTOMER PRODUCT CODEMIN ORDER QTYDELETE FLAGBARCODE
65010-10-02POLYFILLA INT POLYCELL 2KGX81246260.00
65010-10-02POLYFILLA INT POLYCELL 2KGX8D11780.00
65010-10-02POLYFILLA INT POLYCELL 2KGX89036300.00
65010-10-02POLYFILLA INT POLYCELL 2KGX860016060104040.00


But when I export these to excel, the first column's value get changed to numbers, which is a big problem for me. I've tried fiddling around Qlikview & Excel to find a solution that will work, but to no avail.

What we would like to do is export the tables to excel & send them to our customers to keep them updated on our product codes etc.

The result I get when exporting to Excel is the following:

AGRINET PRODUCT CODEPRODUCT DESCRIPTION (Eng)CUSTOMER PRODUCT CODEMIN ORDER QTYDELETE FLAGBARCODE
23050730POLYFILLA INT POLYCELL 2KGX81246260.00
23050730POLYFILLA INT POLYCELL 2KGX8D11780.00
23050730POLYFILLA INT POLYCELL 2KGX89036300.00
23050730POLYFILLA INT POLYCELL 2KGX860016060104040.00


Any ideas would be highly appreciated. I`m sure I`m not the only one experiecing this when exporting mixed-type data to excel.

1 Solution

Accepted Solutions
Not applicable
Author

Hi all,

For those interested, I've found the solution.

When loading the data into the model, explicitly define the field as text.

When this then gets exported to Excel, it will export as text & no conversions will be done on the data.

For example:

Load

....

TEXT(PRODUCT_CODE) as [AGRINET PRODUCT CODE],

.....

FROM ....;





View solution in original post

5 Replies
marcohadiyanto
Partner - Specialist
Partner - Specialist

hi,

i think because of your agrinet product code same as date format in qlikview. so when you export them to excel, have your code had different value.

i'm still can't find the solution

Not applicable
Author



Hi Marco,

I definitely feel it has something to do with a date conversion of some sort, which is why I check my regional & language settings for the date format used.

Also, the start of my Qlikview script has the following:

SET

SET TimestampFormat='YYYY/MM/DD hh:mm:ss[.fff]';

Does anybody know how I can sidestep this conversion or know where I can override the manual settings?

Thanks in advance!

DateFormat='YYYY/MM/DD';

Not applicable
Author

Hi all,

For those interested, I've found the solution.

When loading the data into the model, explicitly define the field as text.

When this then gets exported to Excel, it will export as text & no conversions will be done on the data.

For example:

Load

....

TEXT(PRODUCT_CODE) as [AGRINET PRODUCT CODE],

.....

FROM ....;





marcohadiyanto
Partner - Specialist
Partner - Specialist

hi,

it's nice solution.

Not applicable
Author

Thanks. Your solution worked for me.

Don Saluga

ServiceLink

Pittsburgh, Pa.