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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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

Labels (1)
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

Nagaraju_KCS
Specialist III
Specialist III

Try this,

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