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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
johnlauridsen
Contributor III
Contributor III

Convert into value

Hi

I have a table from Axapta with values entered into a "text/value" field.

in my script I have the following line...

 

if(TAXGROUP='K00', EO_CREDITINSURANCE,(EO_CREDITINSURANCE*1.25)) as Insurance,

The field I have as text is the EO_CREDITINSURANCE - is there a good way to convert this to a numeric field?

/John

1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try using Num() Or Num#(),

if(TAXGROUP='K00', Num(EO_CREDITINSURANCE),(Num(EO_CREDITINSURANCE)*1.25)) as Insurance,

Hope this helps you.

Regards,

jagan.

View solution in original post

1 Reply
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try using Num() Or Num#(),

if(TAXGROUP='K00', Num(EO_CREDITINSURANCE),(Num(EO_CREDITINSURANCE)*1.25)) as Insurance,

Hope this helps you.

Regards,

jagan.