Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
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

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

@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

Just keeping the relevant information might be done per:

keepchar(MyField, '0123456789,') as MyField

MayilVahanan

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.