Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
markus19-85
Partner - Contributor III
Partner - Contributor III

Text to Num

Hi all,

I would like to format a text 401,67- into a number. I an older QlikView 11 application it is working with the num#() function, but not in QlikView 12 April 2019 SR1

I attached an example, hope you guys can help

 

Thanks and Regards,

Markus

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

Num(Num#(yourNum, '0;0-'))

View solution in original post

7 Replies
Anil_Babu_Samineni

Is this not working?

Num(num#(401,67))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
markus19-85
Partner - Contributor III
Partner - Contributor III
Author

it still should be a negative number. If i use  num(num#(02) the negative numbers disapear and i only have 584,13

tresesco
MVP
MVP

Try like:

Num(Num#(yourNum, '0;0-'))

markus19-85
Partner - Contributor III
Partner - Contributor III
Author

wow thanks, its working 🙂

edwin
Master II
Master II

@markus19-85 just curios, what decimal separator do you have in your settings?  is it comma or period?

markus19-85
Partner - Contributor III
Partner - Contributor III
Author

Hi, here are my seetings 

SET ThousandSep='.';
SET DecimalSep=',';

edwin
Master II
Master II

thumbs up