<?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: Last 90 days count using Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-90-days-count-using-Set-Analysis/m-p/1346995#M831388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can make it date field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px;"&gt;date( [Mailing Time],'DD/MM/YYYY') AS &lt;SPAN style="color: #3d3d3d; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px;"&gt;[Mailing Date] //Add this new field for date field&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;From Source;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;and use this field&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;CODE style="font-weight: inherit; font-style: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;=count({$&amp;lt;{&lt;SPAN style="color: #3d3d3d; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[Mailing Date] &lt;/STRONG&gt;&lt;/SPAN&gt;= {"&amp;gt;$(=(Date(today()-90))"}&amp;gt;} %email)&lt;/CODE&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Jun 2017 09:24:59 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2017-06-10T09:24:59Z</dc:date>
    <item>
      <title>Last 90 days count using Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-90-days-count-using-Set-Analysis/m-p/1346993#M831386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create set analysis calculation like count of emails over last 90 days in qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-style: inherit; font-weight: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;=count({$&amp;lt;{Mailing Time]={"&amp;gt;$(=(Date(today()-90))"}&amp;gt;} %email) &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-style: inherit; font-weight: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;but unfortunately date filter from isn't applied at all.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-style: inherit; font-weight: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;Mailing Time in database is timestamp field&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-style: inherit; font-weight: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;if any more info needed wud be happy to share,thx.&lt;/CODE&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/Last-90-days-count-using-Set-Analysis/m-p/1346993#M831386</guid>
      <dc:creator>cognosbadri</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Last 90 days count using Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-90-days-count-using-Set-Analysis/m-p/1346994#M831387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turn...&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;{Mailing Time]={"&amp;gt;$(=(Date(today()-90))"}&amp;gt;} %email)&lt;/P&gt;&lt;P&gt;... into...&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;{[Mailing Time]={"&amp;gt;$(=today()-90)"}&amp;gt;} %email)&lt;/P&gt;&lt;P&gt;... and see if that works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did was...&lt;/P&gt;&lt;P&gt;- add a missing &lt;STRONG&gt;[&lt;/STRONG&gt; in front of your "Mailing Time" field.&lt;/P&gt;&lt;P&gt;- remove the date() function as that does formatting only, so has no added value here&lt;/P&gt;&lt;P&gt;- remove a bunch of useless brackets&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jun 2017 09:24:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-90-days-count-using-Set-Analysis/m-p/1346994#M831387</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2017-06-10T09:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Last 90 days count using Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-90-days-count-using-Set-Analysis/m-p/1346995#M831388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can make it date field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px;"&gt;date( [Mailing Time],'DD/MM/YYYY') AS &lt;SPAN style="color: #3d3d3d; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px;"&gt;[Mailing Date] //Add this new field for date field&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;From Source;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;and use this field&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;CODE style="font-weight: inherit; font-style: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;=count({$&amp;lt;{&lt;SPAN style="color: #3d3d3d; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[Mailing Date] &lt;/STRONG&gt;&lt;/SPAN&gt;= {"&amp;gt;$(=(Date(today()-90))"}&amp;gt;} %email)&lt;/CODE&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jun 2017 09:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-90-days-count-using-Set-Analysis/m-p/1346995#M831388</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-06-10T09:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Last 90 days count using Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-90-days-count-using-Set-Analysis/m-p/1346996#M831389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the format of Mailing Time? The format plays a very important role in set analysis without which this type of set analysis won't really work.... So, here are some of your options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Use format of your Mailing Time field&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({$&amp;lt;[Mailing Time] = {"&amp;gt;$(=TimeStamp(Today()-90, 'DD/MM/YYYY h:mm:ss TT'))"}&amp;gt;} %email)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I assumed that your Mailing Time was having a format like this &lt;STRONG style="font-size: 13.3333px;"&gt;DD/MM/YYYY h:mm:ss TT&lt;/STRONG&gt;, but it was different, replace it with the correct format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Use flag from the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If([Mailing Time] &amp;gt; (Today() - 90), 1, 0) as Last90DayFlag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and then just this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;=Count({$&amp;lt;&lt;STRONG style="font-size: 13.3333px;"&gt;Last90DayFlag&lt;/STRONG&gt; = {1}&amp;gt;} %email)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Finally a search string method where you won't need to worry about the format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;=Count({$&amp;lt;[Mailing Time] = {"=[Mailing Time] &amp;gt; (Today()-90)"}&amp;gt;} %email)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jun 2017 10:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-90-days-count-using-Set-Analysis/m-p/1346996#M831389</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-10T10:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Last 90 days count using Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-90-days-count-using-Set-Analysis/m-p/1346997#M831390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Count({$&amp;lt;[Mailing Time] = {"&amp;gt;=$(=Max(DateID)-90)&amp;lt;=$(=Max(DateID)"}, Year= ,&amp;nbsp; Month = }&amp;gt;} %email)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jun 2017 14:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-90-days-count-using-Set-Analysis/m-p/1346997#M831390</guid>
      <dc:creator>vadim_grab</dc:creator>
      <dc:date>2017-06-11T14:54:05Z</dc:date>
    </item>
  </channel>
</rss>

