<?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 Date range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752766#M719210</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a date format like belwo screenshot . I trying to use a&amp;nbsp; text object to display the count of ID's between the date range .&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i write my expression for this in a set analysis ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count of ({&amp;lt;Date&amp;gt;={'01/01/205 and &amp;lt;=31/01/2005'}&amp;gt;}ID)&amp;nbsp; . Can please hel me on this ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smilingjohn_0-1602761003017.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42335iB915FFC370DCBE4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smilingjohn_0-1602761003017.png" alt="smilingjohn_0-1602761003017.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>smilingjohn</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Date range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752766#M719210</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a date format like belwo screenshot . I trying to use a&amp;nbsp; text object to display the count of ID's between the date range .&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i write my expression for this in a set analysis ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count of ({&amp;lt;Date&amp;gt;={'01/01/205 and &amp;lt;=31/01/2005'}&amp;gt;}ID)&amp;nbsp; . Can please hel me on this ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smilingjohn_0-1602761003017.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42335iB915FFC370DCBE4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smilingjohn_0-1602761003017.png" alt="smilingjohn_0-1602761003017.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752766#M719210</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752786#M719211</link>
      <description>&lt;P&gt;try something like this?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;count({ $&amp;lt;Date={'&amp;gt;01/01/205&amp;lt;31/01/2005'}&amp;gt;}&amp;nbsp; ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;count({ $&amp;lt;Date={'&amp;gt;01/01/205&amp;lt;31/01/2005'}&amp;gt;} distinct ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({$&amp;lt;Date = {"&amp;gt;=01/01/205&amp;lt;=31/01/2005"}&amp;gt;} DISTINCT&amp;nbsp; ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;change your date format in script like below .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Date(Yourdatefield, 'DD/MM/YYYY') as Yourdate&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 12:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752786#M719211</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2020-10-15T12:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Date range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752864#M719212</link>
      <description>&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49432"&gt;@Chanty4u&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Third query works but this is not giving me the proper results .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the any other way to select the date witout converting it as shown in the screenshot .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smilingjohn_0-1602772548505.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42362iA84FA68F6C5C916C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smilingjohn_0-1602772548505.png" alt="smilingjohn_0-1602772548505.png" /&gt;&lt;/span&gt;&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>Thu, 15 Oct 2020 14:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752864#M719212</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-10-15T14:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Date range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752872#M719213</link>
      <description>&lt;P&gt;Not sure.&lt;/P&gt;&lt;P&gt;is count getting wrong?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you attach sample excel file?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 14:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752872#M719213</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2020-10-15T14:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Date range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752887#M719214</link>
      <description>&lt;P&gt;Hi Chanty4U,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your 3rd expression works properly .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now if I give the range of dates within set analysis&amp;nbsp; the numbers are matching , if i just conevrt to month from the Date then numbers are nit matching .&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i make this function to work for all the month selction becuse some months will have 30 days and some will have 31 days .&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ahvea master calendar too .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 14:54:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752887#M719214</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-10-15T14:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752902#M719215</link>
      <description>&lt;P&gt;Even if the month or date .. it will show that perticular date and month range will show same count .&lt;/P&gt;&lt;P&gt;im not sure. how it is not matching.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you attach any sample&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 15:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752902#M719215</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2020-10-15T15:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752936#M719216</link>
      <description>&lt;P&gt;Hi Chany4u&lt;/P&gt;&lt;P&gt;Please llo at the screenshot below&amp;nbsp; , in the month of September by defualt selection will consider all the 31 days ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when we add the date range from &amp;gt;=01/09/2020&amp;lt;=30/09/2020 then it is considering till 29th september .&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the same result does the users have . thats the reason i am really curious to know how can i assign date range for all the month in the script&amp;nbsp; to achive this ?Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smilingjohn_0-1602777382020.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42378iD2C018F7E1E27FA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smilingjohn_0-1602777382020.png" alt="smilingjohn_0-1602777382020.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 15:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752936#M719216</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-10-15T15:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Date range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752948#M719217</link>
      <description>&lt;P&gt;I have master Calendar in my real time and I have converted the my Date to in the script and then master calendar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date(Floor(Date,'DD/MM/YYYY') as Date&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after which the below query is not working and shoing some other values "&lt;/P&gt;&lt;P&gt;Expression :&amp;nbsp;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;Date={"&amp;gt;=01/09/2020&amp;lt;=30/09/2020"}&amp;gt;}ID)&lt;/P&gt;&lt;P&gt;Do i need to alter the Dates table ?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 16:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range/m-p/1752948#M719217</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-10-15T16:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date range</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range/m-p/1756395#M719218</link>
      <description>&lt;P&gt;I would think this most likely has to do with potentially needing to AGGR something as well, here is a Design Blog post on that, hopefully that may help you figure things out.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 18:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range/m-p/1756395#M719218</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-10-27T18:13:12Z</dc:date>
    </item>
  </channel>
</rss>

