<?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: Set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/592767#M1111240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need count all records where:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{$&amp;lt;Abonement.End={ "&amp;gt;=$(=Date((Today()-60), 'YYYY.MM.DD')) &amp;lt;=$(=Date((Today()-30), 'YYYY.MM.DD'))" }&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this set analysis :count({$&amp;lt;Date={ "&amp;gt;=$(=Date((Today()-30), 'YYYY.MM.DD')) &amp;lt;=$(=Date((Today()-0), 'YYYY.MM.DD'))" },OfferingCategory1={Narystės}&amp;gt;} DISTINCT SabID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nilesh, yours solution is working, but returns only 2 records, there must be more...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Mar 2014 12:05:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-03T12:05:51Z</dc:date>
    <item>
      <title>Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/592764#M1111237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all , need help , i have a set analysis like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;Date={ "&amp;gt;=$(=Date((Today()-30), 'YYYY.MM.DD')) &amp;lt;=$(=Date((Today()-0), 'YYYY.MM.DD'))" },OfferingCategory1={Narystės}&amp;gt;} DISTINCT SabID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i need to iplement If statment into set analysis, like this : {$&amp;lt;Abonement.End={ "&amp;gt;=$(=Date((Today()-60), 'YYYY.MM.DD')) &amp;lt;=$(=Date((Today()-30), 'YYYY.MM.DD'))" }&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the logic is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if {$&amp;lt;Abonement.End={ "&amp;gt;=$(=Date((Today()-60), 'YYYY.MM.DD')) &amp;lt;=$(=Date((Today()-30), 'YYYY.MM.DD'))" }&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;Date={ "&amp;gt;=$(=Date((Today()-30), 'YYYY.MM.DD')) &amp;lt;=$(=Date((Today()-0), 'YYYY.MM.DD'))" },OfferingCategory1={Narystės}&amp;gt;} DISTINCT SabID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 11:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/592764#M1111237</guid>
      <dc:creator />
      <dc:date>2014-03-03T11:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/592765#M1111238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;you can include the if expression in your count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example. you can use the below mentioned expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt; Abonement.End={ "&amp;gt;=$(=Date((Today()-60), 'YYYY.MM.DD')) &amp;lt;=$(=Date((Today()-30), 'YYYY.MM.DD'))" }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Date={ "&amp;gt;=$(=Date((Today()-30), 'YYYY.MM.DD')) &amp;lt;=$(=Date((Today()-0), 'YYYY.MM.DD'))" },OfferingCategory1={Narystės}&amp;gt;} DISTINCT SabID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 11:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/592765#M1111238</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2014-03-03T11:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/592766#M1111239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;im not quite sure what your question is or what you want but try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if({$&amp;lt;Abonement.End={ "&amp;gt;=$(=Date((Today()-60), 'YYYY.MM.DD')) &amp;lt;=$(=Date((Today()-30), 'YYYY.MM.DD'))" }&amp;gt;},if({$&amp;lt;Date={ "&amp;gt;=$(=Date((Today()-30), 'YYYY.MM.DD')) &amp;lt;=$(=Date((Today()-0), 'YYYY.MM.DD'))" },OfferingCategory1={Narystės}&amp;gt;}, count(DISTINCT SabID)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 11:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/592766#M1111239</guid>
      <dc:creator />
      <dc:date>2014-03-03T11:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/592767#M1111240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need count all records where:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{$&amp;lt;Abonement.End={ "&amp;gt;=$(=Date((Today()-60), 'YYYY.MM.DD')) &amp;lt;=$(=Date((Today()-30), 'YYYY.MM.DD'))" }&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this set analysis :count({$&amp;lt;Date={ "&amp;gt;=$(=Date((Today()-30), 'YYYY.MM.DD')) &amp;lt;=$(=Date((Today()-0), 'YYYY.MM.DD'))" },OfferingCategory1={Narystės}&amp;gt;} DISTINCT SabID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nilesh, yours solution is working, but returns only 2 records, there must be more...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 12:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/592767#M1111240</guid>
      <dc:creator />
      <dc:date>2014-03-03T12:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/592768#M1111241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(num(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Abonement.End&lt;/SPAN&gt;)&amp;gt;=num(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date((Today()-60)) and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;num(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Abonement.End&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&amp;lt;= num(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(Today()-30)),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count({&amp;lt; Date={ "&amp;gt;=$(=Date((Today()-30), 'YYYY.MM.DD')) &amp;lt;=$(=Date((Today()), 'YYYY.MM.DD'))" }&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,OfferingCategory1={Narystės}&amp;gt;} DISTINCT SabID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 12:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/592768#M1111241</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-03-03T12:17:14Z</dc:date>
    </item>
  </channel>
</rss>

