Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

data confusion

Hello

I'm reading data from a database table that has a column char(3)

in this column (code of business unit) there is data that has values 11, 011,01,02,03,....

when read to QlikView the values 11 are retrieved as 011 and thus I'm losing the 11 values

I can walk on water when it freezes
1 Solution

Accepted Solutions
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Use function text() to preserve the full string, including the leading zeros:

text(BusinessUnit) as BusinessUnit

View solution in original post

1 Reply
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Use function text() to preserve the full string, including the leading zeros:

text(BusinessUnit) as BusinessUnit