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: 
Anonymous
Not applicable

feild num without zero

hi,

i have feild with 6 numeric position.

in some case the num start with zero.

exm:

000353 = 353

003303 = 3303

061498 = 61498

000101 = 101

....

how do i chenge it to numeric feild without the zero at start?

thanks'

yarin.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

Try this:

=REPLACE(LTRIM(replace(Column, '0', ' ')),' ',0)

Hope it helps!!

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hi,

Try this:

=REPLACE(LTRIM(replace(Column, '0', ' ')),' ',0)

Hope it helps!!

tamilarasu
Champion
Champion

Hi Yarin,

Try,

Num(FieldName)  (If your field is text then try  =>  Num(Num#(FieldName,'#')) )


or


=Replace(Ltrim(replace(FieldName,'0',' ')),' ','0')

Anonymous
Not applicable
Author

thanks' it's good.

yarin.

Anonymous
Not applicable
Author

I am glad to help!!