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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Try like:

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

View solution in original post

7 Replies
Anil_Babu_Samineni
MVP
MVP

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

tresB
Champion III
Champion III

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