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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
flaviaSdggroup
Partner - Contributor
Partner - Contributor

LOAD DATA AT XML FORMAT

HELLO GUYS,

im doing this loading to import data from a database:

[Y]:
NoConcatenate
SELECT "ID",
             "ADDITIONAL_INFO"
FROM x
;

my problem is this column named "ADDITIONAL_INFO" is a XML data but when i load it, it appears like a huge string.

Is there any function in oracle, or something, that i can use to load this column in the XML format?

 

Thank you 

 

 

1 Reply
Vegar
MVP
MVP

I think you should look into the functionality
LOAD FROM_FIELD
Where you can treat already loaded fields as a LOAD source.

I would be something like my mockup code below.


[SHIP_POS_ADD_INFO]:
NoConcatenate
SELECT TO_CHAR("POS_ID") AS "POS_ID",
"TS",
"ADDITIONAL_INFO"
FROM "IMDATEUSR"."SHIP_POS_ADD_INFO"
;

XmlResult:
LOAD [dimension A], etc...
FROM_FIELD (ADDITIONAL_INFO,XML_Data) (XmlSimple, Table is [RepeaterData/Item/etc/etc]);

Read more: https://help.qlik.com/sv-SE/sense/February2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegu...