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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
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

12 Replies
Anil_Babu_Samineni

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

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

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

Kushal_Chawda

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

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