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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
ecabanas
Creator II
Creator II

Create a Customerid from a code

Hi I have the following customerid:

1

2

3

12

100

and I would like to transform in "C000000" patern

C000001

C000002

C000003

C000012

C000100


I think it's easy but I am in a loop and blocked


Many thank's


Eduard

Labels (1)
1 Solution

Accepted Solutions
Clever_Anjos
Support
Support

LOAD

'C' & NUM(yourfield,'000000') as  yournewfield

from yourqvd.qvd(qvd)

View solution in original post

2 Replies
Clever_Anjos
Support
Support

LOAD

'C' & NUM(yourfield,'000000') as  yournewfield

from yourqvd.qvd(qvd)

Clever_Anjos
Support
Support

Or even simpler

num(yourfield,'C000000')