Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
sevvalk
Creator
Creator

Qlik returns the customer id. Can you help me?

Hello,

I am pulling data from the Erp system. Qlik adds "0" to the beginning of the customer codes I pull. How do I solve this? For example, if the customer id is 3565455, it returns 03565455. What is the reason of this?

Labels (6)
1 Solution

Accepted Solutions
vincent_ardiet_
Specialist
Specialist

You can also force the format to numeric when you load:
load ...
num(customer_id) as customer_id,
...

View solution in original post

4 Replies
ManuelRühl
Partner - Specialist
Partner - Specialist

I think the leading 0 is stored in the database but in the ERP-GUI the 0 is not shown.

Manuel Rühl
www.mamaconsulting.de
MatheusC
Specialist II
Specialist II

@sevvalk 

In the data load editor, try this:

trim(ID)*1 as ID

Att,
Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
vincent_ardiet_
Specialist
Specialist

You can also force the format to numeric when you load:
load ...
num(customer_id) as customer_id,
...

MatheusC
Specialist II
Specialist II

@sevvalk 

The subject of the topic being resolved, close the topic with the solution found.

Thanks,
Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!