<?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: Rolling Count 7 and 30 days in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rolling-Count-7-and-30-days-Line-Chart/m-p/1843904#M69835</link>
    <description>&lt;P&gt;Sorry &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49799"&gt;@abhijitnalekar&lt;/a&gt;&amp;nbsp;, I didn't specify I want it in a line chart.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Oct 2021 00:54:11 GMT</pubDate>
    <dc:creator>nbazz</dc:creator>
    <dc:date>2021-10-08T00:54:11Z</dc:date>
    <item>
      <title>Rolling Count 7 and 30 days - Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Count-7-and-30-days-Line-Chart/m-p/1842458#M69748</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a table with the following fields: date | user id | action done. I want the output to be (but in a &lt;STRONG&gt;line chart&lt;/STRONG&gt;) :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Users&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-10-05&lt;/TD&gt;&lt;TD&gt;Count of distinct users from 2021-09-29 to&amp;nbsp;2021-10-05&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-10-04&lt;/TD&gt;&lt;TD&gt;Count of distinct users from 2021-09-28 to&amp;nbsp;2021-10-04&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-10-03&lt;/TD&gt;&lt;TD&gt;Count of distinct users from 2021-09-27 to&amp;nbsp;2021-10-03&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, I want to do a rolling count. Above is the rolling count for the last 7 days, but I would need to do the same for the last 30 days also (keeping it in days, not - 1 month).&lt;/P&gt;&lt;P&gt;I read I can do this throught the script, but I didn't understand how. Since I'm still a begginner, I couldn't really wrap my head around the master calendar code.&lt;/P&gt;&lt;P&gt;To do so I absolutely need to use a master calendar or can I do this only using the date field (YYYY-MM-DD) I currently have? How could I do this so I can use rolling counts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 15:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Count-7-and-30-days-Line-Chart/m-p/1842458#M69748</guid>
      <dc:creator>nbazz</dc:creator>
      <dc:date>2021-12-22T15:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Count 7 and 30 days</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Count-7-and-30-days-Line-Chart/m-p/1842934#M69776</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144314"&gt;@nbazz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use the below condition against date in your expression.&lt;/P&gt;&lt;P&gt;Date={"$(='&amp;gt;=' &amp;amp; Date(ReloadTime(),'YYYY-MM-DD') &amp;amp; '&amp;lt;=' &amp;amp; Date(ReloadTime()-7,'YYYY-MM-DD'))"}&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 13:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Count-7-and-30-days-Line-Chart/m-p/1842934#M69776</guid>
      <dc:creator>abhijitnalekar</dc:creator>
      <dc:date>2021-10-06T13:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Count 7 and 30 days</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Count-7-and-30-days-Line-Chart/m-p/1843904#M69835</link>
      <description>&lt;P&gt;Sorry &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49799"&gt;@abhijitnalekar&lt;/a&gt;&amp;nbsp;, I didn't specify I want it in a line chart.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 00:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Count-7-and-30-days-Line-Chart/m-p/1843904#M69835</guid>
      <dc:creator>nbazz</dc:creator>
      <dc:date>2021-10-08T00:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Count 7 and 30 days</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Count-7-and-30-days-Line-Chart/m-p/1843993#M69837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144314"&gt;@nbazz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;What will be the dimension of the Line chart.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 07:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Count-7-and-30-days-Line-Chart/m-p/1843993#M69837</guid>
      <dc:creator>abhijitnalekar</dc:creator>
      <dc:date>2021-10-08T07:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Count 7 and 30 days</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Count-7-and-30-days-Line-Chart/m-p/1844335#M69869</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49799"&gt;@abhijitnalekar&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;The dimension would be the date (daily, DD/MM/YYYY).&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 17:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Count-7-and-30-days-Line-Chart/m-p/1844335#M69869</guid>
      <dc:creator>nbazz</dc:creator>
      <dc:date>2021-10-08T17:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Count 7 and 30 days</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Count-7-and-30-days-Line-Chart/m-p/1844679#M69896</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144314"&gt;@nbazz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the below screenshot. I hope you are looking at the same.&lt;/P&gt;&lt;P&gt;Dimension used in the chart is :&amp;nbsp;&lt;STRONG&gt;InvoiceDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and Measure is : &lt;STRONG&gt;sum({&amp;lt;InvoiceDate={"$(='&amp;lt;=' &amp;amp; Date(max(InvoiceDate),'YYYY-MM-DD') &amp;amp; '&amp;gt;=' &amp;amp; Date(max(InvoiceDate)-30,'YYYY-MM-DD'))"} &amp;gt;}[#TransactionCount])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhijitnalekar_0-1633935166798.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/63849i4048892F4333B996/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhijitnalekar_0-1633935166798.png" alt="abhijitnalekar_0-1633935166798.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 06:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Count-7-and-30-days-Line-Chart/m-p/1844679#M69896</guid>
      <dc:creator>abhijitnalekar</dc:creator>
      <dc:date>2021-10-11T06:54:30Z</dc:date>
    </item>
  </channel>
</rss>

