Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME 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
Luminary Alumni
Luminary Alumni

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
Luminary Alumni
Luminary Alumni

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.