<?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: Dates in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416893#M795954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression is working well when we select single year and month, is it possible to extend this one for multiple selections?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jan 2018 09:52:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-17T09:52:34Z</dc:date>
    <item>
      <title>Dates in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416886#M795947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have requirement where in I have to get the count of&amp;nbsp; a dimesion w.r.t to one date based on the selection of a different date dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the sample data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 192px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="34" width="64"&gt;Customer&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD width="64"&gt;Effective date&lt;/TD&gt;&lt;TD width="64"&gt;Expiration date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;6/1/2017&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;6/1/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;7/2/2017&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;7/2/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;6/3/2017&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;6/3/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;D&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;8/4/2017&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;8/4/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;E&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;8/5/2016&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;8/5/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;F&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;8/5/2017&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;8/5/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;G&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;8/12/2017&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;8/12/2018&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now we have the month and year filter selections based on effective date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the requirement is when we click on effective date we should get count of how many customers are having effective date as well as how are expiring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg: if we click on Aug 2017 we should get count as 1 as we have customer E expiring in aug 2017 and another test box with count of customers having aug 2017 as effective date which will 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month and year filter based on effective dates.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So we have two text boxes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Count of customers expiring&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count of customer effective&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know if requirement is unclear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;anupama jagan&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/Dates-in-set-analysis/m-p/1416886#M795947</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416887#M795948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at the attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187237_1.png" style="height: 289px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Dec 2017 20:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416887#M795948</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2017-12-17T20:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416888#M795949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your solution. It works great !!. Just a small doubt Is it possible to show count(customer) effective (in expiring customers text box) when no selections are made?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Dec 2017 20:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416888#M795949</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-17T20:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416889#M795950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the max function to count the customer of the max year and max month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;count({$ &amp;lt;eff_year=,eff_month=,eff_date=,exp_date={"&amp;gt;=$(=date(monthstart(makedate(max(eff_year),max(eff_month)))))&amp;lt;=$(=date(monthend(makedate(max(eff_year),max(eff_month)))))"}&amp;gt;} DISTINCT customer)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;count({$ &amp;lt;eff_year=,eff_month=,eff_date={"&amp;gt;=$(=date(monthstart(makedate(max(eff_year),max(eff_month)))))&amp;lt;=$(=date(monthend(makedate(max(eff_year),max(eff_month)))))"}&amp;gt;} DISTINCT customer)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Dec 2017 20:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416889#M795950</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2017-12-17T20:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416890#M795951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, Like this? you should think about creating Master Calendar in your application. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="customers.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187250_customers.png" style="height: 463px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Dec 2017 21:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416890#M795951</guid>
      <dc:creator>mariusz_kumansk</dc:creator>
      <dc:date>2017-12-17T21:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416891#M795952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to get ytd and qtd for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;count({$ &amp;lt;eff_year=,eff_month=,eff_date=,exp_date={"&amp;gt;=$(=date(monthstart(makedate(max(eff_year),max(eff_month)))))&amp;lt;=$(=date(monthend(makedate(max(eff_year),max(eff_month)))))"}&amp;gt;} DISTINCT customer)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 16:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416891#M795952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-21T16:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416892#M795953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try wity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yearstart or quarterstart &lt;/P&gt;&lt;P&gt;today - 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 17:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416892#M795953</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2017-12-21T17:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416893#M795954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression is working well when we select single year and month, is it possible to extend this one for multiple selections?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 09:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-set-analysis/m-p/1416893#M795954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-17T09:52:34Z</dc:date>
    </item>
  </channel>
</rss>

