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: 
rcandeo
Creator III
Creator III

supress zeros

How can I supress zeros in an char field?

Example: customer number = 00003212

I want let it as '3312' direct in the script

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hello Robson,

The fastest way is converting it to a number with Num(Field) which will represent the value as as integer in this case.

Num(CustomerNumber) AS CustomerNumber,


Hope that helps.

View solution in original post

3 Replies
Miguel_Angel_Baeyens

Hello Robson,

The fastest way is converting it to a number with Num(Field) which will represent the value as as integer in this case.

Num(CustomerNumber) AS CustomerNumber,


Hope that helps.

deepakk
Partner - Specialist III
Partner - Specialist III

hi Robson,

You can use Num function

num(Customer number)

Not applicable

Convert using the Num function.