Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All, how to convert a string to number? I have already tried Num and Num# functions. I am fetching data from SAP report. Please help. Thanks in advance.
The num# function is used to create numbers from text values. num#(MyTextValue, '#,##0.00') as MyNumber
Note that num# is a qlikview function, so you cannot use it in sql statements which are executed by the database server and not by qlikview.
Hi,
Can you elaborate with example
Regards
The num# function is used to create numbers from text values. num#(MyTextValue, '#,##0.00') as MyNumber
Note that num# is a qlikview function, so you cannot use it in sql statements which are executed by the database server and not by qlikview.
Can you try this
Num(KeepChar(yourstring,'0123456789'))
thanks,
Rajesh Vaswani
A string should be implicitly converted to a number during load if it can be interpreted as numeric.
Without giving an example it's rather impossible to tell the cause of your issue.
hope this helps
regards
Marco
Can you try this
Num(KeepChar(yourstring,'0123456789'))
thanks,
Rajesh Vaswani
Thank you all for your quick responses.