<?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: Efficient ways to load data that is in the wrong format? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Efficient-ways-to-load-data-that-is-in-the-wrong-format/m-p/368054#M1178832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; Thanks Henric, but I think that's done the opposite of what I want.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I have an input file arranged like this: &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;HK&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;SE&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;75&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;and what I want to get is three dimensions: ID, country and price (rather than ID, HK price and SE price). &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I think if I wanted to go in the other direction, what you've given me would be just what I need... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I've had a look at some other documentation (Qlikview's online help isn't very easy to navigate) and it looks like I could use resident tables to load the data much faster, but that still feels like a rather inelegant way to do it - I need a separate load from the resident table for each country that I add. &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2012 08:45:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-26T08:45:25Z</dc:date>
    <item>
      <title>Efficient ways to load data that is in the wrong format?</title>
      <link>https://community.qlik.com/t5/QlikView/Efficient-ways-to-load-data-that-is-in-the-wrong-format/m-p/368052#M1178830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; I've got a file which has Product ID as the key, and then a series of columns, each one showing the price of that product in a different country.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;What I'd like to do is have the price of the product as a dimension, as well as the country and Product ID. Currently I do this:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;LOAD&lt;/DIV&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Hong Kong]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Price&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; 'hk' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;POS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;C&gt;&lt;BR /&gt; (&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; productpricing0); &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; but I'm concerned that's not the best way to do it (there's about 100,000 rows in the file, and 20 different countries, so it's a bit of a challenge for my computer).&amp;nbsp; Any suggestions?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 08:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Efficient-ways-to-load-data-that-is-in-the-wrong-format/m-p/368052#M1178830</guid>
      <dc:creator />
      <dc:date>2012-03-26T08:18:40Z</dc:date>
    </item>
    <item>
      <title>Efficient ways to load data that is in the wrong format?</title>
      <link>https://community.qlik.com/t5/QlikView/Efficient-ways-to-load-data-that-is-in-the-wrong-format/m-p/368053#M1178831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Crosstable (Country, Price, 1)&lt;/P&gt;&lt;P&gt;Load * From ... ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 08:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Efficient-ways-to-load-data-that-is-in-the-wrong-format/m-p/368053#M1178831</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-03-26T08:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient ways to load data that is in the wrong format?</title>
      <link>https://community.qlik.com/t5/QlikView/Efficient-ways-to-load-data-that-is-in-the-wrong-format/m-p/368054#M1178832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; Thanks Henric, but I think that's done the opposite of what I want.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I have an input file arranged like this: &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;HK&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;SE&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;75&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;and what I want to get is three dimensions: ID, country and price (rather than ID, HK price and SE price). &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I think if I wanted to go in the other direction, what you've given me would be just what I need... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I've had a look at some other documentation (Qlikview's online help isn't very easy to navigate) and it looks like I could use resident tables to load the data much faster, but that still feels like a rather inelegant way to do it - I need a separate load from the resident table for each country that I add. &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 08:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Efficient-ways-to-load-data-that-is-in-the-wrong-format/m-p/368054#M1178832</guid>
      <dc:creator />
      <dc:date>2012-03-26T08:45:25Z</dc:date>
    </item>
    <item>
      <title>Efficient ways to load data that is in the wrong format?</title>
      <link>https://community.qlik.com/t5/QlikView/Efficient-ways-to-load-data-that-is-in-the-wrong-format/m-p/368055#M1178833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I think you should use Crosstable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Crosstable (Country, Price, 1) Load ID, HK, SE From ... ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternative approach is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each vCountry in 'HK', 'SE'&lt;/P&gt;&lt;P&gt;Load ID, '$(vCountry)' as Country, [$(vCountry)] as Price From ... ;&lt;/P&gt;&lt;P&gt;Next vCountry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/HIC &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 08:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Efficient-ways-to-load-data-that-is-in-the-wrong-format/m-p/368055#M1178833</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-03-26T08:53:20Z</dc:date>
    </item>
  </channel>
</rss>

