<?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 set analysis counting nulls(Urgent) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-counting-nulls-Urgent/m-p/47653#M511802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this expression where i am counting the tickets for last 13 months where the amount is null or 0.&lt;/P&gt;&lt;P&gt;My expression works but i need to write it in set analysis.&lt;/P&gt;&lt;P&gt;Please can somebody help me with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(if(Monthname(sales.Date)&amp;gt;=monthname(AddMonths(Date(Today()), -13)),if(isnull(amount)&amp;lt;&amp;gt;0 or amount=0,tickets)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H6&gt;Thanks &amp;amp; Regards,&lt;/H6&gt;&lt;P&gt;Jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2018 07:23:25 GMT</pubDate>
    <dc:creator>hathwarjaya</dc:creator>
    <dc:date>2018-03-19T07:23:25Z</dc:date>
    <item>
      <title>set analysis counting nulls(Urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-counting-nulls-Urgent/m-p/47653#M511802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this expression where i am counting the tickets for last 13 months where the amount is null or 0.&lt;/P&gt;&lt;P&gt;My expression works but i need to write it in set analysis.&lt;/P&gt;&lt;P&gt;Please can somebody help me with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(if(Monthname(sales.Date)&amp;gt;=monthname(AddMonths(Date(Today()), -13)),if(isnull(amount)&amp;lt;&amp;gt;0 or amount=0,tickets)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H6&gt;Thanks &amp;amp; Regards,&lt;/H6&gt;&lt;P&gt;Jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 07:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-counting-nulls-Urgent/m-p/47653#M511802</guid>
      <dc:creator>hathwarjaya</dc:creator>
      <dc:date>2018-03-19T07:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis counting nulls(Urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-counting-nulls-Urgent/m-p/47654#M511803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do these "tickets" have a field with a unique identifier?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 16:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-counting-nulls-Urgent/m-p/47654#M511803</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-03-19T16:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis counting nulls(Urgent)</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-counting-nulls-Urgent/m-p/47655#M511804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this (only works if every ticket.ID occurs only once in your facts table)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=Count({&amp;lt;[sales.Date] = {'&amp;gt;=$(=MonthStart(Today(), -13))'},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ticket.ID]&amp;nbsp; = {"=RangeSum(amount) = 0"}&amp;gt;} tickets)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have to tune the expression a little bit to match your fields and data. Also keep in mind that if the string representation of sales.Date doesn't match the default format, you may need an additional Date() call with a matching format string, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;...[sales.Date] = {'&amp;gt;=$(=Date(MonthStart(Today(), -13), ''D/MM/YYYY''))'}...&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;(those quotes around the format string are two single quotes each, not double quotes)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 16:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-counting-nulls-Urgent/m-p/47655#M511804</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-03-19T16:54:34Z</dc:date>
    </item>
  </channel>
</rss>

