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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
QSense
Creator II
Creator II

conversion from number to string

Hello everyone;

I have a problem .It is about a field.In my database the field is string but when ı loaded into qw

As if ıt behaves like a number column.

For instance I have a value 0123 and when ı use it for join ıt brings two value for this '0123'

since in the other table ıt has two value 123 and 0123.

I used text function but it does not work for me

I hope explained my problem explicitly

Thanks

2 Replies
MarcoWedel

can you post a sample app?

thanks

regards

Marco

Not applicable

Hi,

Sometimes it happens but just specify this field like a text with text() function into script, something like this:

MyData:

LOAD

     Field1

     Field2,

     FieldN,

     Text(MyProblemField) as MyNewNameField

From MySource;

If your source is SQL maybe your script look like this:

MyData:

LOAD

     Field1

     Field2,

     FieldN,

     Text(MyProblemField) as MyNewNameField;

SQL

Select * From MyTable;

Best regards.