Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
dseelam
Creator II
Creator II

Num format from CSV

  Hello All,

Once I export data from CSV item_number appears wrong as shown in attached QVW

eg:

Item Number format should be eg : 3305

But its appearing as 000000000000003305

How to convert back as 3305

It's not single item_number all item_numbers looks weird

Please check attached QVW

Thanks,

D

1 Solution

Accepted Solutions
tomasz_tru
Specialist
Specialist

When a string is too long it won't be converted to number. You can use evaluate function:

evaluate(ItemNumberField & '*1');

Tomasz

View solution in original post

3 Replies
tomasz_tru
Specialist
Specialist

When a string is too long it won't be converted to number. You can use evaluate function:

evaluate(ItemNumberField & '*1');

Tomasz

antoniotiman
Master III
Master III

Hi,

maybe

=Num(Right(ITEM_NUMBER,13))

Max nr QV digits is 14.

Regards,

Antonio

qv_testing
Specialist II
Specialist II

Try this,

Replace(LTRIM(REPLACE(ITEM_NUMBER, '0', ' ')), ' ', '0') as ITEM_NUMBER;