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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
lbalestieri
Contributor II
Contributor II

Number formatting

Hello there!

Im trying to set a default formatting in my script using the next template:

XXX-NNNNNNNNNN

Where X is a char and N is a number.

Im working with custom receipts and i need that the receipt "1234" looks like "AAA-0000001234".

Who can i do this?

Thank you very much.

 

Labels (1)
1 Solution

Accepted Solutions
adang
Contributor III
Contributor III

You could try this statement in the load script:

Load

'XXX-'&Num(<Numeric field here>, '0000000000')    as  Receipt

View solution in original post

1 Reply
adang
Contributor III
Contributor III

You could try this statement in the load script:

Load

'XXX-'&Num(<Numeric field here>, '0000000000')    as  Receipt