<?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: Weekly Rolling Count in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536712#M38722</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;Aggr(&lt;/FONT&gt;&lt;BR /&gt;  RangeSum(
    Above(
      Count({&amp;lt;Frequency = {'W'},[Time Stamp TPM.autoCalendar.MonthRelNo] = {0}, [Time Stamp TPM.autoCalendar.YearsAgo] = {0}&amp;gt;} Distinct Combo)
    , 0, RowNo())
  )&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;, [Time Stamp TPM.autoCalendar.WeekYear], [Time Stamp TPM.autoCalendar.Date])&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jan 2019 18:13:36 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-01-29T18:13:36Z</dc:date>
    <item>
      <title>Weekly Rolling Count</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536711#M38720</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a bar graph with a rolling count that&amp;nbsp;is reset&amp;nbsp;every week but shows the dates for an entire month. I have data from a SQL server of daily, weekly&amp;nbsp; and monthly tasks that get completed. We are trying to monitor the tasks and what days they are being completed. As of right now I can obtain a rolling count for the weekly tasks&amp;nbsp;but I cant get the graph to break it down by week.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rolling Week.PNG" style="width: 968px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4743i6B722FD3E61C6E47/image-size/large?v=v2&amp;amp;px=999" role="button" title="Rolling Week.PNG" alt="Rolling Week.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because the tasks are weekly, I need the count of the completed to restart at the beginning of each week. Not to add up from previous weeks like shown in the graph above. My measure statement is the following:&lt;/P&gt;&lt;PRE&gt;RangeSum(
   Above(
      aggr(
Count({&amp;lt;Frequency = {'W'},[Time Stamp TPM.autoCalendar.MonthRelNo] = {0}, [Time Stamp TPM.autoCalendar.YearsAgo] = {0}&amp;gt;} Distinct Combo)
      ,[Time Stamp TPM.autoCalendar.Date])
   ,0,RowNo())
)&lt;/PRE&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536711#M38720</guid>
      <dc:creator>artempotsuray</dc:creator>
      <dc:date>2024-11-16T21:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Rolling Count</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536712#M38722</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;Aggr(&lt;/FONT&gt;&lt;BR /&gt;  RangeSum(
    Above(
      Count({&amp;lt;Frequency = {'W'},[Time Stamp TPM.autoCalendar.MonthRelNo] = {0}, [Time Stamp TPM.autoCalendar.YearsAgo] = {0}&amp;gt;} Distinct Combo)
    , 0, RowNo())
  )&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;, [Time Stamp TPM.autoCalendar.WeekYear], [Time Stamp TPM.autoCalendar.Date])&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 18:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536712#M38722</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-29T18:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Rolling Count</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536715#M38723</link>
      <description>&lt;P&gt;How would I derive the following in my autocalendar that is created by the script. I am missing this so I cant try it just yet because of this reason&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;[Time Stamp TPM.autoCalendar.WeekYear]&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 18:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536715#M38723</guid>
      <dc:creator>artempotsuray</dc:creator>
      <dc:date>2019-01-29T18:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Rolling Count</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536716#M38724</link>
      <description>&lt;P&gt;Is there another Week related field in your dashboard?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 18:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536716#M38724</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-29T18:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Rolling Count</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536717#M38725</link>
      <description>&lt;P&gt;Yes, I have the following&lt;/P&gt;&lt;P&gt;[Time Stamp TPM.autoCalendar.Week]&lt;/P&gt;&lt;P&gt;[Time Stamp TPM.autoCalendar.WeekRelNo]&lt;/P&gt;&lt;P&gt;[Time Stamp TPM.autoCalendar.WeeksAgo]&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 18:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536717#M38725</guid>
      <dc:creator>artempotsuray</dc:creator>
      <dc:date>2019-01-29T18:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Rolling Count</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536722#M38726</link>
      <description>&lt;P&gt;I am not sure what WeekRelNo is, but may be try this&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;Aggr(&lt;/FONT&gt;&lt;BR /&gt;  RangeSum(
    Above(
      Count({&amp;lt;Frequency = {'W'},[Time Stamp TPM.autoCalendar.MonthRelNo] = {0}, [Time Stamp TPM.autoCalendar.YearsAgo] = {0}&amp;gt;} Distinct Combo)
    , 0, RowNo())
  )&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;, &lt;SPAN&gt;[Time Stamp TPM.autoCalendar.WeekRelNo]&lt;/SPAN&gt;, [Time Stamp TPM.autoCalendar.Date])&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;or this&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;Aggr(&lt;/FONT&gt;&lt;BR /&gt;  RangeSum(
    Above(
      Count({&amp;lt;Frequency = {'W'},[Time Stamp TPM.autoCalendar.MonthRelNo] = {0}, [Time Stamp TPM.autoCalendar.YearsAgo] = {0}&amp;gt;} Distinct Combo)
    , 0, RowNo())
  )&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;, &lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;[Time Stamp TPM.autoCalendar.Year], &lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;[Time Stamp TPM.autoCalendar.Week]&lt;/SPAN&gt;, [Time Stamp TPM.autoCalendar.Date])&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Jan 2019 18:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536722#M38726</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-29T18:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Rolling Count</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536726#M38727</link>
      <description>&lt;P&gt;.WeekRelNo is similar to .Week.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I tried both ways that you proposed and I received the following graph&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rolling Week.PNG" style="width: 613px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4745i9E4C4FDF7E49196E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Rolling Week.PNG" alt="Rolling Week.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems like the first date of each week is getting the correct count with the exception of 1/8/2019 but this isn't exactly what I need. I need it to look more like the graph posted in the initial question where it&amp;nbsp;stacks up throughout the week.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 18:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536726#M38727</guid>
      <dc:creator>artempotsuray</dc:creator>
      <dc:date>2019-01-29T18:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Rolling Count</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536734#M38728</link>
      <description>&lt;P&gt;&amp;nbsp;Would you be able to share a sample to check this out?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 18:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536734#M38728</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-29T18:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Rolling Count</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536751#M38729</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How would I add my qvf file as an attachment? It is not allowing me to do so and gives me the following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The contents of the attachment doesn't match its file type."&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do i need to change it to a qvw? Or perhaps another type?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 19:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536751#M38729</guid>
      <dc:creator>artempotsuray</dc:creator>
      <dc:date>2019-01-29T19:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Rolling Count</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536753#M38730</link>
      <description>&lt;P&gt;Zip the qvf file and then attach&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 19:22:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536753#M38730</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-29T19:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Rolling Count</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536763#M38732</link>
      <description>&lt;P&gt;Here you go. Please refer to the data load editor if some field names are confusing as I have used created field names there.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 20:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1536763#M38732</guid>
      <dc:creator>artempotsuray</dc:creator>
      <dc:date>2019-02-05T20:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Rolling Count</title>
      <link>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1549322#M39568</link>
      <description>&lt;P&gt;For anyone who is might need this in the future. This is how i got it to work:&lt;/P&gt;&lt;P&gt;I added ( , Numeric, Ascending) to my aggr functions and it helped&lt;/P&gt;&lt;PRE&gt;aggr(
   RangeSum(
      Above(
         aggr(
Count({&amp;lt;Frequency = {'W'}, [Time Stamp TPM.autoCalendar.Month] = {'=Month(Today())'}, [Time Stamp TPM.autoCalendar.YearsAgo] = {0}&amp;gt;} Distinct Combo)
         , ([Time Stamp TPM.autoCalendar.Date], Numeric, Ascending))
      ,0,RowNo())
   )
,([Time Stamp TPM.autoCalendar.Week], Numeric, Ascending), ([Time Stamp TPM.autoCalendar.Date], Numeric Ascending))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 15:33:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weekly-Rolling-Count/m-p/1549322#M39568</guid>
      <dc:creator>artempotsuray</dc:creator>
      <dc:date>2019-02-26T15:33:46Z</dc:date>
    </item>
  </channel>
</rss>

