<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XML Key fields values Null Issue while importing XML file in Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/XML-Key-fields-values-Null-Issue-while-importing-XML-file-in/m-p/2014019#M1221854</link>
    <description>&lt;P&gt;you could create unique key values out of the file path information and those autogenerated keys, e.g. like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;tabSomeTable:
LOAD SomeFields,
     AutoNumber(Hash128(%Key_ABCD0123456789,FilePath()),'%Key_ABCD0123456789') as %Key_ABCD0123456789
FROM [$(vFile)] (XmlSimple, Table is [SomeTable]);&lt;/LI-CODE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;AutoNumberHash128(%Key_ABCD0123456789,FilePath(),'%Key_ABCD0123456789') as %Key_ABCD0123456789&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2022 20:17:21 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2022-12-07T20:17:21Z</dc:date>
    <item>
      <title>XML Key fields values Null Issue while importing XML file in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Key-fields-values-Null-Issue-while-importing-XML-file-in/m-p/2013224#M1221838</link>
      <description>&lt;P&gt;Hi ALL,&lt;/P&gt;
&lt;P&gt;We have requirement where we need to read multiple XMLs files to Qlikview&amp;nbsp; from multiple Folders. Each XMLs has data from various area and which gets loaded as multiple table.&lt;/P&gt;
&lt;P&gt;When we load the XMLs it directly creates tables based on the script in XML. Also, it creates its own autogenerated keys for joining those tables. Keys fields for some of the internal tables are fine but the main Key&amp;nbsp; which connects all table has key values as 0 on all the rows.&lt;/P&gt;
&lt;P&gt;Any idea about the how the autogenerated Key gets generated while importing the XMLs to Qlik and how it can be handled to have a proper link within the table across the file. Any suggestion/guidance related this would be really helpful&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 14:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Key-fields-values-Null-Issue-while-importing-XML-file-in/m-p/2013224#M1221838</guid>
      <dc:creator>Sush678</dc:creator>
      <dc:date>2022-12-06T14:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: XML Key fields values Null Issue while importing XML file in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Key-fields-values-Null-Issue-while-importing-XML-file-in/m-p/2014019#M1221854</link>
      <description>&lt;P&gt;you could create unique key values out of the file path information and those autogenerated keys, e.g. like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;tabSomeTable:
LOAD SomeFields,
     AutoNumber(Hash128(%Key_ABCD0123456789,FilePath()),'%Key_ABCD0123456789') as %Key_ABCD0123456789
FROM [$(vFile)] (XmlSimple, Table is [SomeTable]);&lt;/LI-CODE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;AutoNumberHash128(%Key_ABCD0123456789,FilePath(),'%Key_ABCD0123456789') as %Key_ABCD0123456789&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 20:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Key-fields-values-Null-Issue-while-importing-XML-file-in/m-p/2014019#M1221854</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-12-07T20:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: XML Key fields values Null Issue while importing XML file in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Key-fields-values-Null-Issue-while-importing-XML-file-in/m-p/2019679#M1222003</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;First of all Thanks for the suggestion.&lt;/P&gt;
&lt;P&gt;The Autonumber function work fine with multiple Files but I am facing issue while handling the multiple table from within the same XML file as the above function gives me value as '1 ' only. The output of all the tables within same XML is giving the Cartesian product&amp;nbsp; of records.&lt;/P&gt;
&lt;P&gt;Any idea/suggestion to handle that&amp;nbsp; or if something can be fixed at the XML Source end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 14:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Key-fields-values-Null-Issue-while-importing-XML-file-in/m-p/2019679#M1222003</guid>
      <dc:creator>Sush678</dc:creator>
      <dc:date>2022-12-23T14:58:20Z</dc:date>
    </item>
  </channel>
</rss>

