<?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 Need help with sorting and organizing data in a load statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-sorting-and-organizing-data-in-a-load-statement/m-p/882799#M307881</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working with a data set containing two fields that I would like to sort on:&amp;nbsp; Region and category.&amp;nbsp;&amp;nbsp; I would like the flexibility to move from one sort to the next, but is there an efficient way to code this?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I pull all of the data using a straightforward load statement, it's difficult to analyze.&amp;nbsp; Also, some of the applications can't handle the amount of data pulled.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I tried writing a separate load statement for each category (845 of them), using an if statement.&amp;nbsp; It was loading for 12 hours.&amp;nbsp;&amp;nbsp; Very inefficient.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My end goal is to be able to sort the data by region, and also by category.&amp;nbsp; Filtering my region is not difficult, because I've created a dimension for region, but do I need to create a master item for each category?&amp;nbsp;&amp;nbsp; Was wondering if there was an easier way around this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2015 12:36:59 GMT</pubDate>
    <dc:creator>jleefjcapital</dc:creator>
    <dc:date>2015-06-23T12:36:59Z</dc:date>
    <item>
      <title>Need help with sorting and organizing data in a load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-sorting-and-organizing-data-in-a-load-statement/m-p/882799#M307881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working with a data set containing two fields that I would like to sort on:&amp;nbsp; Region and category.&amp;nbsp;&amp;nbsp; I would like the flexibility to move from one sort to the next, but is there an efficient way to code this?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I pull all of the data using a straightforward load statement, it's difficult to analyze.&amp;nbsp; Also, some of the applications can't handle the amount of data pulled.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I tried writing a separate load statement for each category (845 of them), using an if statement.&amp;nbsp; It was loading for 12 hours.&amp;nbsp;&amp;nbsp; Very inefficient.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My end goal is to be able to sort the data by region, and also by category.&amp;nbsp; Filtering my region is not difficult, because I've created a dimension for region, but do I need to create a master item for each category?&amp;nbsp;&amp;nbsp; Was wondering if there was an easier way around this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 12:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-sorting-and-organizing-data-in-a-load-statement/m-p/882799#M307881</guid>
      <dc:creator>jleefjcapital</dc:creator>
      <dc:date>2015-06-23T12:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with sorting and organizing data in a load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-sorting-and-organizing-data-in-a-load-statement/m-p/882800#M307882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a few questions :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. what is the volume of the data?&lt;/P&gt;&lt;P&gt;2. Why sort in the load? Sorting is handled in the front end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 12:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-sorting-and-organizing-data-in-a-load-statement/m-p/882800#M307882</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-06-23T12:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with sorting and organizing data in a load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-sorting-and-organizing-data-in-a-load-statement/m-p/882801#M307883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;154K x 24.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to use&amp;nbsp; the master item for this?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 12:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-sorting-and-organizing-data-in-a-load-statement/m-p/882801#M307883</guid>
      <dc:creator>jleefjcapital</dc:creator>
      <dc:date>2015-06-23T12:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with sorting and organizing data in a load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-sorting-and-organizing-data-in-a-load-statement/m-p/882802#M307884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is 12m records. not much for QlikView&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 11.9999990463257px; background-color: #f2f2f2;"&gt;Do I need to use&amp;nbsp; the master item for this? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Note sure what you mean by that but you need the category dimension somehow...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 12:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-sorting-and-organizing-data-in-a-load-statement/m-p/882802#M307884</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-06-23T12:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with sorting and organizing data in a load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-sorting-and-organizing-data-in-a-load-statement/m-p/882803#M307885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm referring to a variable we can create in Qlik Sense on the front-end.&amp;nbsp;&amp;nbsp; But, I tried tweaking the load statement to create the category dimension with a list of if statements in a single load statement versus multiple load statements (which is what caused me issues). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;OCC_Title,&lt;/P&gt;&lt;P&gt;If("OCC_Title" = 'ABC', "OCC_Title") as "ABC",&lt;/P&gt;&lt;P&gt;if(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&amp;nbsp; as " " &lt;/P&gt;&lt;P&gt;if(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&amp;nbsp; as&amp;nbsp; " "&amp;nbsp; &lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 15:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-sorting-and-organizing-data-in-a-load-statement/m-p/882803#M307885</guid>
      <dc:creator>jleefjcapital</dc:creator>
      <dc:date>2015-06-23T15:00:20Z</dc:date>
    </item>
  </channel>
</rss>

