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

Excel Format Custom as "00000000" on Load

Hi Experts

I am loading from an Excel file where 1 of the columns has a data validation of [Number between 930000 and 999999999] , there is then a custom format on the cell as '00000000', so basically all numbers are 8 digits long and if a shorter number is typed in , preceding zeros will be added.

When I load this column ([Account]) into QV it is loading as just the text value , so no preceding zeros,

Is it possible to add them again as part of the script , I tried text(Account) and variations

But I cant quite get it

Any suggestions greatly appreciated

Thanks

A

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Try with Num function.

     Num([Account],'00000000')

Celambarasan

View solution in original post

2 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Try with Num function.

     Num([Account],'00000000')

Celambarasan

Not applicable
Author

Thanks

It works !!