<?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 AW:Comparing between periods of time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-between-periods-of-time/m-p/315485#M1199396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried your tip but it seems that I don't fully understand where to insert the "period - 1" statement... Do I add it to the cyclic group when I creat it (under Settings -&amp;gt; Document properties) or in the chart that I've added? I just can't find this set -&amp;gt; expression button that you described...&lt;/P&gt;&lt;P&gt;And another small question - you said that I can devide the results of the two periods to see if it's bigger than one or not. Can I creat a Gauge chart and connect that result to it? I mean: 1 will be the center line, above it will be the right area and below it will be the red area...&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;P&gt;Nitzan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2011 19:39:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-06T19:39:47Z</dc:date>
    <item>
      <title>Comparing between periods of time</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-between-periods-of-time/m-p/315482#M1199393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm dealing with working accidents database. Each accident has a date field. I want to calculate the number of accidents during a requested period of time (for example: first quarter of 2010) and then compare it to the number of accidents in the same quarter of the previous year. In fact, I want to divide those two numbers (number of accidents in current period / number of accidents in similar previous period) to see if the result is bigger than 1 or not.&lt;/P&gt;&lt;P&gt;Can I do this in QlikView? Can I do this for each period of time? (month,year etc.)&lt;/P&gt;&lt;P&gt;Thanx!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 15:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-between-periods-of-time/m-p/315482#M1199393</guid>
      <dc:creator />
      <dc:date>2011-03-22T15:17:23Z</dc:date>
    </item>
    <item>
      <title>AW:Comparing between periods of time</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-between-periods-of-time/m-p/315483#M1199394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;sounds as if it could be done with QV &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Make a cyclic group with the kinds of periods you want to see (months, weeks, quarters...).&lt;/P&gt;&lt;P&gt;Summarize over time, make a second expression with the period minus 1 (with set-expression).&lt;/P&gt;&lt;P&gt;Whereas period stands for week, month or whatever you have chosen.&lt;/P&gt;&lt;P&gt;And then you can divide, for example with column(2)/column(3). So you get your value bigger or smaller than 1 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 15:22:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-between-periods-of-time/m-p/315483#M1199394</guid>
      <dc:creator />
      <dc:date>2011-03-22T15:22:34Z</dc:date>
    </item>
    <item>
      <title>AW:Comparing between periods of time</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-between-periods-of-time/m-p/315484#M1199395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your quick reply! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I will give it a shot&lt;/P&gt;&lt;P&gt;Nitzan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 20:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-between-periods-of-time/m-p/315484#M1199395</guid>
      <dc:creator />
      <dc:date>2011-03-24T20:35:04Z</dc:date>
    </item>
    <item>
      <title>AW:Comparing between periods of time</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-between-periods-of-time/m-p/315485#M1199396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried your tip but it seems that I don't fully understand where to insert the "period - 1" statement... Do I add it to the cyclic group when I creat it (under Settings -&amp;gt; Document properties) or in the chart that I've added? I just can't find this set -&amp;gt; expression button that you described...&lt;/P&gt;&lt;P&gt;And another small question - you said that I can devide the results of the two periods to see if it's bigger than one or not. Can I creat a Gauge chart and connect that result to it? I mean: 1 will be the center line, above it will be the right area and below it will be the red area...&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;P&gt;Nitzan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 19:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-between-periods-of-time/m-p/315485#M1199396</guid>
      <dc:creator />
      <dc:date>2011-04-06T19:39:47Z</dc:date>
    </item>
  </channel>
</rss>

