<?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 Keys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142208#M21743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still helpful, 3 years later. Thanks &lt;A href="https://community.qlik.com/qlik-users/2286"&gt;Rob Wunderlich&lt;/A&gt;!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2014 21:59:20 GMT</pubDate>
    <dc:creator>Tyler_Waterfall</dc:creator>
    <dc:date>2014-11-05T21:59:20Z</dc:date>
    <item>
      <title>XML Keys</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142203#M21738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is my first time working with xml files,I am loading several xml files in my application, they are being concatenated but there is no key which links the different tables together.QV generates a %key but that is always a 0 for eachfile, how can i create/get a key to link the files?&lt;/P&gt;&lt;P&gt;any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 16:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142203#M21738</guid>
      <dc:creator>lmonincx</dc:creator>
      <dc:date>2009-04-23T16:03:16Z</dc:date>
    </item>
    <item>
      <title>XML Keys</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142204#M21739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you are loading data into an application, fields with like names are joined.&lt;/P&gt;&lt;P&gt;If your fields are do not have the same name, you can use an alias to make the names match.&lt;/P&gt;&lt;P&gt;SELECT Field1, Field1 AS QKey&lt;/P&gt;&lt;P&gt;Sometimes it helps to load a field with its given name and then load it again with the alias to make it a key.&lt;/P&gt;&lt;P&gt;Once both fields have the same name, QlikView will link them. You can use the Table Viewer (Ctrl+T) to see a visual respresentation of your data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 20:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142204#M21739</guid>
      <dc:creator />
      <dc:date>2009-04-23T20:20:38Z</dc:date>
    </item>
    <item>
      <title>XML Keys</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142205#M21740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When loading multple xml files like *.xml, you have to create some file-based uniqueness for the key. Check out this post from the archives to see if it solves your problem.&lt;BR /&gt;&lt;A href="http://community.qlik.com/forums/p/13883/54380.aspx#54380"&gt;http://community.qlik.com/forums/p/13883/54380.aspx#54380&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 01:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142205#M21740</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-04-24T01:49:29Z</dc:date>
    </item>
    <item>
      <title>XML Keys</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142206#M21741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resource not found when clicking thta URL. Would it be possible to correc the URL?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 00:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142206#M21741</guid>
      <dc:creator />
      <dc:date>2011-02-11T00:46:35Z</dc:date>
    </item>
    <item>
      <title>XML Keys</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142207#M21742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The link works for me but I understand it doesn't work for you. Here's the content at that link:&lt;/P&gt;&lt;DIV class="ForumPostBody"&gt;"The problem is with the generated %Key... field, which is a generated counter starting with 0 that links the child xml node with the parent node. The xml load process resets this counter to zero at the beginning of each file so child elements from the second file are incorrectly linked to parents from a previous file. The solution is to introduce some uniqueness into the key so you get linkage only within an individual file. Modify your %Key... statements as follows:&lt;/DIV&gt;&lt;DIV class="ForumPostBody"&gt;&lt;/DIV&gt;&lt;DIV class="ForumPostBody"&gt;FileBaseName() &amp;amp; %Key_devices_DAEC5B79D00913EA as Key //key created by wizard&lt;/DIV&gt;&lt;DIV class="ForumPostBody"&gt;&lt;/DIV&gt;&lt;DIV class="ForumPostBody"&gt;That will create unique keys and your data should link up correctly&lt;/DIV&gt;&lt;DIV class="ForumPostBody"&gt;. -Rob"&lt;/DIV&gt;&lt;DIV class="ForumPostBody"&gt;&lt;/DIV&gt;&lt;DIV class="ForumPostBody"&gt;If that doesn't resolve your question, post some details of your specific problem here and I'll try to respond.&lt;/DIV&gt;&lt;DIV class="ForumPostBody"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Feb 2011 07:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142207#M21742</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-02-12T07:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: XML Keys</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142208#M21743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still helpful, 3 years later. Thanks &lt;A href="https://community.qlik.com/qlik-users/2286"&gt;Rob Wunderlich&lt;/A&gt;!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 21:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142208#M21743</guid>
      <dc:creator>Tyler_Waterfall</dc:creator>
      <dc:date>2014-11-05T21:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: XML Keys</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142209#M21744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to know the archives are still useful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 16:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/142209#M21744</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-11-06T16:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: XML Keys</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/1551178#M440294</link>
      <description>&lt;P&gt;Another 5 years this also saved my life. Awesome, Rob!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 15:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/1551178#M440294</guid>
      <dc:creator>ingoniclas</dc:creator>
      <dc:date>2019-03-01T15:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: XML Keys</title>
      <link>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/2442845#M1225601</link>
      <description>&lt;P&gt;13 years later and it still works like a charm. Thanks, Rob!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 09:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/XML-Keys/m-p/2442845#M1225601</guid>
      <dc:creator>Arek92</dc:creator>
      <dc:date>2024-04-19T09:08:10Z</dc:date>
    </item>
  </channel>
</rss>

