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: 
die77
Contributor
Contributor

convert text to money in load script

Hi expert, 

i am having trouble managing a format conversion

I have a field like this

€ 11.100,32

qlik import as text, and i can't use it to sum 😕

How I import in load script as money ( euro) or num in order to use it to sum? 

Thanks in advance

D.

 

Labels (1)
1 Solution

Accepted Solutions
MayilVahanan
MVP
MVP

Hi

Try like below

Money(Money#(Replace('€ 11.100,32','€ ',''), '##.###,##',',','.'))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

3 Replies
Anil_Babu_Samineni
MVP
MVP

@die77 you can use format around like Money - script and chart function | QlikView Help

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
marcus_sommer
MVP
MVP

Just keeping the relevant information might be done per:

keepchar(MyField, '0123456789,') as MyField

MayilVahanan
MVP
MVP

Hi

Try like below

Money(Money#(Replace('€ 11.100,32','€ ',''), '##.###,##',',','.'))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.