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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem with xml files

Hello all,

I have the problem that when I try to work on an XML file, I have things like

<div>, float;# and string;# before the actual data that I want to use.

Can I eliminate them in an easy way?

Purgechar and replace is not working properly...

regards,

Michael

Labels (1)
12 Replies
Anil_Babu_Samineni
MVP
MVP

Can you provide more inputs that demonstrate the issue

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
Not applicable
Author

Like this. I just need the figures 😉

Anil_Babu_Samineni
MVP
MVP

I always depends like below

=Replace('float;#0.00000', 'float;#','')

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

=num(purgechar(lower(trim(FieldName)),'float;#'))

Kushal_Chawda
MVP
MVP

or

keepchar(FieldName,'0123456789')

Sergey_Shuklin
Specialist
Specialist

Hello, Michael!

Replace will be the short solution:

Replace(TTM,'float;#','')

replace.png

PFA.

Not applicable
Author

sorry, all Solutions don't work...

I've attached the qvw, maybe it helps

Anil_Babu_Samineni
MVP
MVP

Which Field we have to look? Is this related R&D

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
Not applicable
Author

It's TTM for instance