<?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: Advanced data transformation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Advanced-data-transformation/m-p/551734#M206069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you add a field with the different slots to each excel load, something like 'available' as slot and 'pre-booked' as slot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can add slot to your chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jan 2014 15:06:06 GMT</pubDate>
    <dc:creator>Michiel_QV_Fan</dc:creator>
    <dc:date>2014-01-22T15:06:06Z</dc:date>
    <item>
      <title>Advanced data transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-data-transformation/m-p/551733#M206068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some base data like I've provided in the Excel file attached.&lt;/P&gt;&lt;P&gt;- That block of data is part of a much larger populated area on that sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; Currently, I load that into QlikView by&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - conditionally removing all the lines that do not equal the text in column_2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - transposing the whole thing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - removing line_1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; The issue is, there are six or seven such three-line-paragraphs for this year. Currently I have to write expressions into my chart for each of these blocks and make it dependent on a variable that is governed by a button.&lt;/P&gt;&lt;P&gt;=&amp;gt; Isn't there a way I could transform this data in the script so that I have two dimensions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - gate_nr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; and three pieces of data each:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - available slots&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - pre-booked slots&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - used slots&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;That would make my chart a lot more elegant:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; -&amp;nbsp; Less individual formulas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - No need for that button&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - Possibility to build a trellis_chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 15:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-data-transformation/m-p/551733#M206068</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-01-22T15:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced data transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-data-transformation/m-p/551734#M206069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you add a field with the different slots to each excel load, something like 'available' as slot and 'pre-booked' as slot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can add slot to your chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 15:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-data-transformation/m-p/551734#M206069</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2014-01-22T15:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Advanced data transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-data-transformation/m-p/551735#M206070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michiel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well, in principle - oops, I forgot to actually attach my sample.&lt;/P&gt;&lt;P&gt;In principle, all I'd have to do is add a field "gate_nr" to the left of the end_result (after transposing and stuff, which is exactly the problem), then I'd have my second dimension.&lt;/P&gt;&lt;P&gt;=&amp;gt; The problem is I just don't know how to do that with all the "remove, transpose, remove" stuff - can I do these things in a RESIDENT LOAD? That would simplify things - I could just load that block of data as it is, without any transformation, then load it RESIDENT and transpose it and then load it RESIDENT once more and add that field on the left.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 15:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-data-transformation/m-p/551735#M206070</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-01-22T15:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced data transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-data-transformation/m-p/551736#M206071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can think of a way, maybe:&lt;/P&gt;&lt;P&gt;- Do six separate LOADs from the Excel base_file, complete with all the transformation_steps, each one for only one&lt;BR /&gt;&amp;nbsp;&amp;nbsp; gate&lt;/P&gt;&lt;P&gt;- Append all of them&lt;/P&gt;&lt;P&gt;- Load it all RESIDENT and generate that extra field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; Isn't there an easier way? This looks like quite an effort to me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: It's even more complex: I have to&lt;/P&gt;&lt;P&gt;- do one LOAD for every gate, complete with all the transformation_steps&lt;/P&gt;&lt;P&gt;- use Noconcatenate inbetween to have so many separate tables&lt;/P&gt;&lt;P&gt;- Then do RESIDENT LOADs for all of them&lt;/P&gt;&lt;P&gt;&amp;nbsp; - concatenate all of those&lt;/P&gt;&lt;P&gt;&amp;nbsp; - generate one more field with the gate_Nr&lt;/P&gt;&lt;P&gt;&amp;nbsp; - rename the fields to not include the gate_Nr anymore&lt;/P&gt;&lt;P&gt;&amp;nbsp; - last, but not least, drop all of those separate tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 15:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-data-transformation/m-p/551736#M206071</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-01-22T15:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced data transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-data-transformation/m-p/551737#M206072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post an example? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 08:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-data-transformation/m-p/551737#M206072</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2014-01-23T08:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced data transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Advanced-data-transformation/m-p/551738#M206073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michiel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don't bother. I'm already nearly through, in the way I have thought of. That's some typework, but it makes the data_model much nicer and more usable.&lt;/P&gt;&lt;P&gt;So ´just regard this as solved.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 11:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Advanced-data-transformation/m-p/551738#M206073</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-01-23T11:29:42Z</dc:date>
    </item>
  </channel>
</rss>

