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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
datanibbler
Champion
Champion

Another simpleton question: Turn nr. into str

Hi,

my issue is very simple: I have eight tables to CONCATENATE in the script. Seven of them have a nr. (the nr. of a delivery_slot, like "81, 82, 83" - one has a nr. and a text, "73-LV".

=> I have already enclosed them all in upper quotes,  but still those seven are regarded as numbers and displayed on the right-hand side of a listbox, the eigth is regarded as text and displayed on the left.

=> How can I make them all the same (text)?

Thanks a lot!

Best regards,

DataNibbler

Labels (1)
1 Solution

Accepted Solutions
agilos_mla
Partner - Creator III
Partner - Creator III

Load Text([FieldName]) AS FieldName,

Or in the presentation tab of the list box, set the alignment on left/right for numbers and texts

Michael.

View solution in original post

4 Replies
agilos_mla
Partner - Creator III
Partner - Creator III

Load Text([FieldName]) AS FieldName,

Or in the presentation tab of the list box, set the alignment on left/right for numbers and texts

Michael.

atsushi_saijo
Creator II
Creator II

Good morning. This is typecast and TEXT() is used to convert datatype into text. However; once typecasted, they are not read as number.

ashwanin
Specialist
Specialist

=text(field) as Field

in script

datanibbler
Champion
Champion
Author

Hi,

thanks! The display on the left and right is, of course, only a symptom and not a big deal in itself - but there should not be this difference.

I'll use this function.

Best regards,

DataNibbler