<?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 Loading XML Data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-XML-Data/m-p/213096#M66908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;I'm having troubles loading data from an xml file. I tried the wizard but I didn't get the results I'm looking for. The XML file pulls in a list of sales opportunities. (see attached). There are two opportunities listed in this one.&lt;/P&gt;&lt;P&gt;no -&amp;gt; opportunity #&lt;BR /&gt;val -&amp;gt; field&lt;BR /&gt;FL % -&amp;gt; field value&lt;/P&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/6378.getRecords.xml:550:0]&lt;/P&gt;&lt;P&gt;So, the result I need is&lt;/P&gt;&lt;P&gt;Opportunity table&lt;BR /&gt;----------------------&lt;BR /&gt;&lt;STRONG&gt;POTENTIALID&lt;BR /&gt;SMOWNERID&lt;BR /&gt;Potential Owner&lt;BR /&gt;Amount&lt;BR /&gt;Potential Name&lt;BR /&gt;Closing Date&lt;BR /&gt;ECT....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Anyone have any ideas on this one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Apr 2010 19:07:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-13T19:07:14Z</dc:date>
    <item>
      <title>Loading XML Data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-XML-Data/m-p/213096#M66908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;I'm having troubles loading data from an xml file. I tried the wizard but I didn't get the results I'm looking for. The XML file pulls in a list of sales opportunities. (see attached). There are two opportunities listed in this one.&lt;/P&gt;&lt;P&gt;no -&amp;gt; opportunity #&lt;BR /&gt;val -&amp;gt; field&lt;BR /&gt;FL % -&amp;gt; field value&lt;/P&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/6378.getRecords.xml:550:0]&lt;/P&gt;&lt;P&gt;So, the result I need is&lt;/P&gt;&lt;P&gt;Opportunity table&lt;BR /&gt;----------------------&lt;BR /&gt;&lt;STRONG&gt;POTENTIALID&lt;BR /&gt;SMOWNERID&lt;BR /&gt;Potential Owner&lt;BR /&gt;Amount&lt;BR /&gt;Potential Name&lt;BR /&gt;Closing Date&lt;BR /&gt;ECT....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Anyone have any ideas on this one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 19:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-XML-Data/m-p/213096#M66908</guid>
      <dc:creator />
      <dc:date>2010-04-13T19:07:14Z</dc:date>
    </item>
    <item>
      <title>Loading XML Data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-XML-Data/m-p/213097#M66909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I was able to come up with a solution. It's not the best idea but it works. I would love to hear if anyone has a better way.&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;TempOpportunities:&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;LOAD no,&lt;BR /&gt; %Key_row_E3D0E1B2094648A7&lt;BR /&gt;FROM [my xml file here] (XmlSimple, Table is [response/result/Potentials/row]);&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;LEFT JOIN (TempOpportunities)&lt;BR /&gt;LOAD&lt;BR /&gt; val,&lt;BR /&gt; FL%Table,&lt;BR /&gt; %Key_row_E3D0E1B2094648A7&lt;BR /&gt; FROM [my xml file here] (XmlSimple, Table is [response/result/Potentials/row/FL]);&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;Opportunities:&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; no,&lt;BR /&gt; FL%Table AS PotentialOwner&lt;BR /&gt;RESIDENT TempOpportunities&lt;BR /&gt;WHERE val='Potential Owner';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;JOIN (Opportunities)&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; no,&lt;BR /&gt; FL%Table AS Amount&lt;BR /&gt;RESIDENT TempOpportunities&lt;BR /&gt;WHERE val='Amount';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;JOIN (Opportunities)&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; no,&lt;BR /&gt; FL%Table AS PotentialName&lt;BR /&gt;RESIDENT TempOpportunities&lt;BR /&gt;WHERE val='Potential Name';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;JOIN (Opportunities)&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; no,&lt;BR /&gt; FL%Table AS ClosingDate&lt;BR /&gt;RESIDENT TempOpportunities&lt;BR /&gt;WHERE val='Closing Date';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;JOIN (Opportunities)&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; no,&lt;BR /&gt; FL%Table AS AccountName&lt;BR /&gt;RESIDENT TempOpportunities&lt;BR /&gt;WHERE val='Account Name';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;JOIN (Opportunities)&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; no,&lt;BR /&gt; FL%Table AS Stage&lt;BR /&gt;RESIDENT TempOpportunities&lt;BR /&gt;WHERE val='Stage';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;JOIN (Opportunities)&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; no,&lt;BR /&gt; FL%Table AS Probability&lt;BR /&gt;RESIDENT TempOpportunities&lt;BR /&gt;WHERE val='Probability';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;JOIN (Opportunities)&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; no,&lt;BR /&gt; FL%Table AS Description&lt;BR /&gt;RESIDENT TempOpportunities&lt;BR /&gt;WHERE val='Description';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;JOIN (Opportunities)&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; no,&lt;BR /&gt; FL%Table AS ContactName&lt;BR /&gt;RESIDENT TempOpportunities&lt;BR /&gt;WHERE val='Contact Name';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;JOIN (Opportunities)&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; no,&lt;BR /&gt; FL%Table AS ExpectedRevenue&lt;BR /&gt;RESIDENT TempOpportunities&lt;BR /&gt;WHERE val='Expected Revenue';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;JOIN (Opportunities)&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; no,&lt;BR /&gt; FL%Table AS USAPracticeEngaged&lt;BR /&gt;RESIDENT TempOpportunities&lt;BR /&gt;WHERE val='USA Practice Engaged';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;JOIN (Opportunities)&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt; no,&lt;BR /&gt; FL%Table AS USACustomer&lt;BR /&gt;RESIDENT TempOpportunities&lt;BR /&gt;WHERE val='USA Customer';&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;DROP TABLE TempOpportunities;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 21:14:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-XML-Data/m-p/213097#M66909</guid>
      <dc:creator />
      <dc:date>2010-04-13T21:14:18Z</dc:date>
    </item>
    <item>
      <title>Loading XML Data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-XML-Data/m-p/213098#M66910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i've made a change in the "default" script, it works (at least for me xD)&lt;/P&gt;&lt;P&gt;is this the finale table what are you looking for?&lt;/P&gt;&lt;P&gt;See the picture &lt;IMG alt="Stick out tongue" src="http://community.qlik.com/emoticons/emotion-4.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 21:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-XML-Data/m-p/213098#M66910</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2010-04-13T21:25:17Z</dc:date>
    </item>
  </channel>
</rss>

