<?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: Count IDs between Months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114580#M891867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this something you want on the front end or back end would also work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Aug 2016 16:58:21 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-08-16T16:58:21Z</dc:date>
    <item>
      <title>Count IDs between Months</title>
      <link>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114577#M891864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need help completing an app as this is the last expression that I need to create but I'm not sure what steps I need to take. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to count Active Members for my dimension Month. For example, see below color code. The End Date Month of 300001 is an indicator that the Member is still active.&lt;/P&gt;&lt;P&gt;An Active member is any member that falls within my Month dimension. I'm guessing I need to create an additioanl calendar to add my dimension but I'm not clear how to do this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="134657" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134657_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="134658" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/134658_pastedImage_4.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114577#M891864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count IDs between Months</title>
      <link>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114578#M891865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to provide a sample John?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 14:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114578#M891865</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-16T14:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count IDs between Months</title>
      <link>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114579#M891866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I attached sample data. The Months should read as followed. The months are not in date format. I'm up for changing anything and everthing with the data to get the counts that I'm looking for. I found an example on QV community of kind of what I'm looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/162784"&gt;Counting "active" records between two dates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image" src="https://community.qlik.com/legacyfs/online/134669_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 15:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114579#M891866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-16T15:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Count IDs between Months</title>
      <link>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114580#M891867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this something you want on the front end or back end would also work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 16:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114580#M891867</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-16T16:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count IDs between Months</title>
      <link>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114581#M891868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't care as long as I can represent the data on a chart. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 17:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114581#M891868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-16T17:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Count IDs between Months</title>
      <link>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114582#M891869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date(MonthStart([Start Date Month], IterNo() - 1), 'YYYYMM') as Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Status,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Member,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; [Start Date Month],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; [End Date Month]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While MonthStart([Start Date Month], IterNo() - 1) &amp;lt;= If([End Date Month] &amp;gt;= MonthStart(Today()), MonthStart(Today()), [End Date Month]);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Status, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Member, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MonthStart(Date#([Start Date Month], 'YYYYMM')), 'YYYYMM') as [Start Date Month],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MonthStart(Date#([End Date Month], 'YYYYMM')), 'YYYYMM') as [End Date Month]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Sample Data.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Straight Table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(DISTINCT Member)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134677_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 17:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114582#M891869</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-16T17:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count IDs between Months</title>
      <link>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114583#M891870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know what the script is doing but it's the results that I need. I'll review the script and try to understand the steps you took.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Sunny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 19:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-IDs-between-Months/m-p/1114583#M891870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-16T19:07:59Z</dc:date>
    </item>
  </channel>
</rss>

