Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Mahamed_Qlik
Specialist
Specialist

data load issue

Hi All,

while fetching the data directly from data source connected by OLEDB ,

The data is getting change.

For example :

In my database :

Number column has values like

101

102

103

And after fetching in qlik the Number column values changed to

00101

00102

103

Automatically preceding zero is getting added.

Kindly advise.

Regards,

Mahamed

1 Solution

Accepted Solutions
idogridish2
Creator III
Creator III

You need to use presiding Load and wrap the field with text function:

LOAD *,

text(Field) as Field_New;

SQL SELECT *

FROM wherever;

View solution in original post

4 Replies
sunny_talwar

May be try this:

Num(FieldName) as FieldName

or

FieldName * 1 as FieldName

idogridish2
Creator III
Creator III

You need to use presiding Load and wrap the field with text function:

LOAD *,

text(Field) as Field_New;

SQL SELECT *

FROM wherever;

sujeetsingh
Master III
Master III

Mahamed_Qlik
Specialist
Specialist
Author

Hi Sunny,

Its not gona work for me becuase i do have few text values in Number column too,

So, as the ido suggested using TEXT(FieldName) is worked out.

Thanks for your advise again.

Regards,

Mahamed