<?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 Compare data between quarters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-data-between-quarters/m-p/510557#M555715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm relatively new to QlikView.&amp;nbsp; We're running version 11.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to compare data for current three months to last three months to the last three months, etc. for a total of 12 months by Business Service (Business Service-CI ID) within a Business Process (comes from another table, uses the Business Service-CI ID to join).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've flattened the file to this point.&amp;nbsp; This is the file format as of now in the script.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code  _jivemacro_uid_13745173195726894" jivemacro_uid="_13745173195726894"&gt;&lt;P&gt;Labor_Dollars_2:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; LaborAmt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [Business Service-CI ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [Cost Element Type],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; WhichQuarter&lt;/P&gt;&lt;P&gt;resident Labor_Dollars_1&lt;/P&gt;&lt;P&gt;order by &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [Business Service-CI ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; WhichQuarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [Cost Element Type]; &lt;/P&gt;&lt;P&gt;drop table Labor_Dollars_1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to calculate the percentage change between the sets of quarters and a % Change Total.&amp;nbsp; WhichQuarter will have values of 1-4 in it to denote which quarter the dollars are for.&amp;nbsp; Cost Element Type values are either Internal or External.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached document for extra info and screenshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried various expressions and I can't get any of them to work.&amp;nbsp; I'm not sure how to make a set analysis work either.&amp;nbsp; I would like to flatten the file a step further where the data for each Business Service is all on one row but I haven't figured that out either. I tried a nested IF statement in the script, but it returned a error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this what I'm trying to accomplish?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raelene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jul 2013 20:41:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-22T20:41:23Z</dc:date>
    <item>
      <title>Compare data between quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-data-between-quarters/m-p/510557#M555715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm relatively new to QlikView.&amp;nbsp; We're running version 11.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to compare data for current three months to last three months to the last three months, etc. for a total of 12 months by Business Service (Business Service-CI ID) within a Business Process (comes from another table, uses the Business Service-CI ID to join).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've flattened the file to this point.&amp;nbsp; This is the file format as of now in the script.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code  _jivemacro_uid_13745173195726894" jivemacro_uid="_13745173195726894"&gt;&lt;P&gt;Labor_Dollars_2:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; LaborAmt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [Business Service-CI ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [Cost Element Type],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; WhichQuarter&lt;/P&gt;&lt;P&gt;resident Labor_Dollars_1&lt;/P&gt;&lt;P&gt;order by &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [Business Service-CI ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; WhichQuarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [Cost Element Type]; &lt;/P&gt;&lt;P&gt;drop table Labor_Dollars_1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to calculate the percentage change between the sets of quarters and a % Change Total.&amp;nbsp; WhichQuarter will have values of 1-4 in it to denote which quarter the dollars are for.&amp;nbsp; Cost Element Type values are either Internal or External.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached document for extra info and screenshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried various expressions and I can't get any of them to work.&amp;nbsp; I'm not sure how to make a set analysis work either.&amp;nbsp; I would like to flatten the file a step further where the data for each Business Service is all on one row but I haven't figured that out either. I tried a nested IF statement in the script, but it returned a error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this what I'm trying to accomplish?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raelene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 20:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-data-between-quarters/m-p/510557#M555715</guid>
      <dc:creator />
      <dc:date>2013-07-22T20:41:23Z</dc:date>
    </item>
  </channel>
</rss>

