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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Data Transformation

I have the following data which need some transformation prior to loading into QlikView:

Substitue

Blank

Drug Code

NORMAL SALINE 1LT

35720

GLIBENCLAMIDE 5MG TABLETS

21345

ENALAPRIL 10MG TABLET

7271

ATORVASTATIN 20 MG TABLET

7020

TENOF300MG+LAMUV300MG+EFAV600MG

50468

COTRIMOXAZOLE 480MG TABLET

20828

AMOXYCILLIN 250MG CAPSULE

20381

CIPROFLOXACIN 500MG

20366

HYOSCINE 10MG TABLET

11241

BESEMAX TABLET

2517

The [Drug Code] should be a six digit number.  How can i add preceding zeros to the above to make the [Drug Code] a six number digit at load time?

Regards.

Chris

12 Replies
Anonymous
Not applicable
Author

Many thanks Anand

MarcoWedel

You're welcome

regards

Marco

its_anandrjs
Champion III
Champion III

Thanks It helps you .

Regards,

Anand