<?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 of ID's between two dates group by each date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575683#M41949</link>
    <description>I have not been able to look at your files hence I'm in my mobile answering, but an alternative solution to your problem is to flag the Open Date rows that are in the month of the Date inside the script.&lt;BR /&gt;&lt;BR /&gt;Load * ,&lt;BR /&gt;If(InMonth ([Open Date], Date, 0) ,1,0) as _OpenDateInDateMonth&lt;BR /&gt;from Excel&lt;BR /&gt;&lt;BR /&gt;Then the expressing could be&lt;BR /&gt;=Count({&amp;lt;_OpenDateInDateMonth={1}&amp;gt;} distinct ID )</description>
    <pubDate>Thu, 02 May 2019 04:13:02 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-05-02T04:13:02Z</dc:date>
    <item>
      <title>Count of ID's between two dates group by each date</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575674#M41940</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to count the ID's for multiple dates where Open Date is&amp;nbsp; in between Month Start and Month End for that particular date.&lt;/P&gt;&lt;P&gt;Date here is the dimension.&lt;/P&gt;&lt;P&gt;If the Date value is April 30 2019, I need all the ID's that have Open Date from April 1 to April 30.&lt;/P&gt;&lt;P&gt;If the Date value is March 30 2019, I need all the ID's that have Open Date from March 1 to March 30.&lt;/P&gt;&lt;P&gt;If the Date value is Feb 28 2019, I need all the ID's that have Open Date from Feb 1 to Feb 28.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression Used:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Open Date] = {"&amp;gt;$(=Date(Date#(Addmonths(max(Date),-1),'MM/DD/YYYY'),'MMM DD YYYY'))&amp;lt;=$(=Date(Date#(max(Date),'MM/DD/YYYY'),'MMM DD YYYY'))"}&amp;gt;}DISTINCT ID)&lt;/P&gt;&lt;P&gt;I have also attached the Excel file and the QVW for the reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Expected Output:&lt;/P&gt;&lt;P&gt;Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # ID&lt;/P&gt;&lt;P&gt;4/30/2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/P&gt;&lt;P&gt;3/30/2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;2/28/2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 16:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575674#M41940</guid>
      <dc:creator>varunreddy</dc:creator>
      <dc:date>2021-12-22T16:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Count of ID's between two dates group by each date</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575675#M41941</link>
      <description>&lt;P&gt;Attaching the QVW for reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 03:39:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575675#M41941</guid>
      <dc:creator>varunreddy</dc:creator>
      <dc:date>2019-05-02T03:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count of ID's between two dates group by each date</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575678#M41944</link>
      <description>Where you want to implement that logic? in Front end or in script??</description>
      <pubDate>Thu, 02 May 2019 04:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575678#M41944</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2019-05-02T04:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Count of ID's between two dates group by each date</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575679#M41945</link>
      <description>&lt;P&gt;Front end.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 04:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575679#M41945</guid>
      <dc:creator>varunreddy</dc:creator>
      <dc:date>2019-05-02T04:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count of ID's between two dates group by each date</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575680#M41946</link>
      <description>&lt;P&gt;Hi Prashanth,&lt;/P&gt;&lt;P&gt;Front end. I have also attached the sample QVW.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 04:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575680#M41946</guid>
      <dc:creator>varunreddy</dc:creator>
      <dc:date>2019-05-02T04:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Count of ID's between two dates group by each date</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575681#M41947</link>
      <description>If you want it in script then create flag and used that flag in front end&lt;BR /&gt;try below logic&lt;BR /&gt;&lt;BR /&gt;Load Date,&lt;BR /&gt;OpenDate,&lt;BR /&gt;if(Date=MontEnd(OpenDate),'1','0') as cnt_flag&lt;BR /&gt;ID&lt;BR /&gt;From TableName;&lt;BR /&gt;&lt;BR /&gt;Then In Front End&lt;BR /&gt;Take Straight Table&lt;BR /&gt;Dimension &amp;gt; Date&lt;BR /&gt;Expression &amp;gt; Count({&amp;lt;cnt_flag={'1'}&amp;gt;}ID) or Sum({&amp;lt;cnt_flag={'1'}&amp;gt;}ID)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Prashant Sangle&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2019 04:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575681#M41947</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2019-05-02T04:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count of ID's between two dates group by each date</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575682#M41948</link>
      <description>Note : Check Date Format.&lt;BR /&gt;&lt;BR /&gt;if(Date=MonthEnd(OpenDate),'1','0') as cnt_flag&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2019 04:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575682#M41948</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2019-05-02T04:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Count of ID's between two dates group by each date</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575683#M41949</link>
      <description>I have not been able to look at your files hence I'm in my mobile answering, but an alternative solution to your problem is to flag the Open Date rows that are in the month of the Date inside the script.&lt;BR /&gt;&lt;BR /&gt;Load * ,&lt;BR /&gt;If(InMonth ([Open Date], Date, 0) ,1,0) as _OpenDateInDateMonth&lt;BR /&gt;from Excel&lt;BR /&gt;&lt;BR /&gt;Then the expressing could be&lt;BR /&gt;=Count({&amp;lt;_OpenDateInDateMonth={1}&amp;gt;} distinct ID )</description>
      <pubDate>Thu, 02 May 2019 04:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575683#M41949</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-05-02T04:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Count of ID's between two dates group by each date</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575685#M41950</link>
      <description>in frontend try below expression&lt;BR /&gt;Count({&amp;lt;Date= {"&amp;gt;$(=MonthEnd(max([Open Date])))"}&amp;gt;}DISTINCT ID)&lt;BR /&gt;&lt;BR /&gt;Note:&lt;BR /&gt;careful with Date Format.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Prashant Sangle</description>
      <pubDate>Thu, 02 May 2019 04:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-ID-s-between-two-dates-group-by-each-date/m-p/1575685#M41950</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2019-05-02T04:21:54Z</dc:date>
    </item>
  </channel>
</rss>

