<?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: Using AsOf table for accumulation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100681#M601042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny, did you manage to figure out what I'm doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2018 06:23:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-05T06:23:02Z</dc:date>
    <item>
      <title>Using AsOf table for accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100676#M601037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlik gurus, I have been using Qlikview for less than 1 year. I hope this doesn't seem like a silly question, but I've been going around in circles with what I am trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data is related to my company's mobile application. I am trying to achieve cumulative view of various subscriber counts over weekly and monthly dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented the AsOf table in my model but am struggling to get a count of all subscribers who have a "First Login Date" prior to the week/month dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to get count of subscribers who have a "First Login Date" during a week/month period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached example,&lt;/P&gt;&lt;P&gt;SUBS_TOTAL is the distinct count of all subscribers who have a "First Login Date" prior to the end of Week 2018/41&lt;/P&gt;&lt;P&gt;SUBS_NEW is the distinct count of all subscribers who have a "First Login Date" during this Week 2018/41&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please could you help me with this. Much appreciated.&lt;/P&gt;&lt;P&gt;I have also attache a sample of my current Qlik model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Brent Kelly I realized I uploaded a sample version of my app with sensitive data and replaced it with a toned down version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2018 08:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100676#M601037</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-01T08:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using AsOf table for accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100677#M601038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you say total, are you only going back 1 year for SUBS_TOTAL or starting of time in your app? The reason I ask this is because right now your AsOfTable is only going back 1 year... meaning &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AsOfWeekYear 41/2018 is linked to WeekYear 41/2017 till 41/2018... is that what you want or do you want it to be linked from 01/2016 to 41/2018?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2018 13:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100677#M601038</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-01T13:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using AsOf table for accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100678#M601039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i say total, I mean from the earliest date for which I have data up until AsOfWeekYear 41/2018 (but cumulatively per AsOfWeekYear.&lt;/P&gt;&lt;P&gt;My data only starts around April/May 2017, however my calendar from Jan 2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2018 13:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100678#M601039</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-01T13:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using AsOf table for accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100679#M601040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But you are def. going back more than just 41/2017, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2018 15:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100679#M601040</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-01T15:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using AsOf table for accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100680#M601041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, correct as in your first statement that I would like&amp;nbsp; be linked from 01/01/2016 to Week 41/2018&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 04:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100680#M601041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-02T04:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using AsOf table for accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100681#M601042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny, did you manage to figure out what I'm doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 06:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100681#M601042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-05T06:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using AsOf table for accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100682#M601043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached.... I have added this script on the DWH LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;MinDate:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Min&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MinDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Calendar_Master;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vMinDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('MinDate');&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (AsOfPeriodTable)&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AsOfPeriod&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AsOfYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AsOfMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AsOfWeek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; 'All' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PeriodType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; + 1 - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IterNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date AsOf]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Calendar_Master&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;While&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; + 1 - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IterNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() &amp;gt;= &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vMinDate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;DROP&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; MinDate; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;To get this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/217567_Capture.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 19:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100682#M601043</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-05T19:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using AsOf table for accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100683#M601044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Sunny, this is exactly what I was looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 11:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-AsOf-table-for-accumulation/m-p/100683#M601044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-06T11:57:00Z</dc:date>
    </item>
  </channel>
</rss>

