<?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: Week On Week comparison (with set analysis??) to show increase in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Week-On-Week-comparison-with-set-analysis-to-show-increase/m-p/1172903#M381082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny T,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example QVW attached as suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies - I have added the data straight from my actual data-source as in-line tables so there is a lot in there... but it was quicker to add it all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also to note as these are in-line tables I have pre populated the Week No. conversion of the date although I just handle this as a calculation in the load script in my proper file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this gives enough context now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2016 11:37:48 GMT</pubDate>
    <dc:creator>chrismtb</dc:creator>
    <dc:date>2016-08-11T11:37:48Z</dc:date>
    <item>
      <title>Week On Week comparison (with set analysis??) to show increase</title>
      <link>https://community.qlik.com/t5/QlikView/Week-On-Week-comparison-with-set-analysis-to-show-increase/m-p/1172901#M381080</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 looked through the forums and managed to partially solve my problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; - I think however I have an opportunity to improve my solution for my users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data set currently comprises of the following information (example below): &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="175" style="border: 1px solid rgb(0, 0, 0); width: 245px; height: 177px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Login ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/01/16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;01/01/16&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;01/01/16&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;02/01/16&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;03/01/16&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;03/01/16&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My aim was to create a week on week comparison of the increase in users for this I ended up creating, importing and using an AsOf table which allowed me to use the following expression to create a chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if([AsOfWeek]&amp;lt;Week(Now(2)),count(DISTINCT(User)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this produced a chart looking something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="WoW Usage.JPG" class="jive-image image-1" height="166" src="/legacyfs/online/134251_WoW Usage.JPG" style="height: 166.407339449541px; width: 316px;" width="316" /&gt;&lt;/P&gt;&lt;P&gt;which answers my original question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOWEVER now I would like to make it much easier to see the increase. I want to split the graph into stacked bars where the lower bar shows the baseline from the previous week and the upper bar represents the increase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="WoW Usage 2.JPG" class="jive-image image-2" height="231" src="/legacyfs/online/134282_WoW Usage 2.JPG" style="height: 230.788863109049px; width: 343px;" width="343" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The change obviously requires two expressions and no doubt will involve aggregation / set analysis but that is where I start to reach my limit on knowledge - any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 09:16:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-On-Week-comparison-with-set-analysis-to-show-increase/m-p/1172901#M381080</guid>
      <dc:creator>chrismtb</dc:creator>
      <dc:date>2016-08-11T09:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Week On Week comparison (with set analysis??) to show increase</title>
      <link>https://community.qlik.com/t5/QlikView/Week-On-Week-comparison-with-set-analysis-to-show-increase/m-p/1172902#M381081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to provide the sample you have been working with? Might be easy if we can also play around with it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 10:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-On-Week-comparison-with-set-analysis-to-show-increase/m-p/1172902#M381081</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-11T10:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Week On Week comparison (with set analysis??) to show increase</title>
      <link>https://community.qlik.com/t5/QlikView/Week-On-Week-comparison-with-set-analysis-to-show-increase/m-p/1172903#M381082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny T,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example QVW attached as suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies - I have added the data straight from my actual data-source as in-line tables so there is a lot in there... but it was quicker to add it all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also to note as these are in-line tables I have pre populated the Week No. conversion of the date although I just handle this as a calculation in the load script in my proper file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this gives enough context now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 11:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-On-Week-comparison-with-set-analysis-to-show-increase/m-p/1172903#M381082</guid>
      <dc:creator>chrismtb</dc:creator>
      <dc:date>2016-08-11T11:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Week On Week comparison (with set analysis??) to show increase</title>
      <link>https://community.qlik.com/t5/QlikView/Week-On-Week-comparison-with-set-analysis-to-show-increase/m-p/1172904#M381083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="134319" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134319_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 1:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Above(if([AsOfWeek]&amp;lt;Week(Now(2)),count(DISTINCT(User))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 2:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if([AsOfWeek]&amp;lt;Week(Now(2)),count(DISTINCT(User)))-Above(if([AsOfWeek]&amp;lt;Week(Now(2)),count(DISTINCT(User))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 11:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-On-Week-comparison-with-set-analysis-to-show-increase/m-p/1172904#M381083</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-11T11:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Week On Week comparison (with set analysis??) to show increase</title>
      <link>https://community.qlik.com/t5/QlikView/Week-On-Week-comparison-with-set-analysis-to-show-increase/m-p/1172905#M381084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great thanks Sunny T - as so often proved to me the answers are right there as long as you know the syntax to use! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 11:56:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-On-Week-comparison-with-set-analysis-to-show-increase/m-p/1172905#M381084</guid>
      <dc:creator>chrismtb</dc:creator>
      <dc:date>2016-08-11T11:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Week On Week comparison (with set analysis??) to show increase</title>
      <link>https://community.qlik.com/t5/QlikView/Week-On-Week-comparison-with-set-analysis-to-show-increase/m-p/1506683#M436338</link>
      <description>&lt;P&gt;Will I be able to choose a week in the past as "AsofWeek" in which I want to compare the data for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 21:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-On-Week-comparison-with-set-analysis-to-show-increase/m-p/1506683#M436338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-14T21:57:42Z</dc:date>
    </item>
  </channel>
</rss>

