<?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: Count on Set analysis expression with dates as if condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-on-Set-analysis-expression-with-dates-as-if-condition/m-p/91381#M510060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count(DISTINCT {&amp;lt;MachDatekey = {"=design_accept = 3"}, &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DateField &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;gt;=$(=today()-7)) &amp;lt;=$(=today()-1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;}&amp;nbsp; MachDatekey) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If you want you can replace &lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;today()-7 &lt;SPAN style="color: #000000;"&gt;with a specific date '8/7/2018' depending on your format for date.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2018 12:40:24 GMT</pubDate>
    <dc:creator>michaelsikora</dc:creator>
    <dc:date>2018-08-16T12:40:24Z</dc:date>
    <item>
      <title>Count on Set analysis expression with dates as if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Count-on-Set-analysis-expression-with-dates-as-if-condition/m-p/91380#M510059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find the below table as sample:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture 2.PNG" class="jive-image image-1" src="/legacyfs/online/211018_Capture 2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this set analysis expression " Count({&amp;lt;MachDatekey = {"=design_accept = 3"}&amp;gt;} DISTINCT MachDatekey) "to count distinct MachdateKey if design_accept=3 for all rows of that MachDateKey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have included Date field in the input data as I have another version of data for the same MachDateKey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I include the Datefield in the above set analysis expression for getting the same result by considering 8/7/2018 as minimum date and 8/14/2018 as maximum date ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 10:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-on-Set-analysis-expression-with-dates-as-if-condition/m-p/91380#M510059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-16T10:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count on Set analysis expression with dates as if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Count-on-Set-analysis-expression-with-dates-as-if-condition/m-p/91381#M510060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count(DISTINCT {&amp;lt;MachDatekey = {"=design_accept = 3"}, &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DateField &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;gt;=$(=today()-7)) &amp;lt;=$(=today()-1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;}&amp;nbsp; MachDatekey) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If you want you can replace &lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;today()-7 &lt;SPAN style="color: #000000;"&gt;with a specific date '8/7/2018' depending on your format for date.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 12:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-on-Set-analysis-expression-with-dates-as-if-condition/m-p/91381#M510060</guid>
      <dc:creator>michaelsikora</dc:creator>
      <dc:date>2018-08-16T12:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count on Set analysis expression with dates as if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Count-on-Set-analysis-expression-with-dates-as-if-condition/m-p/91382#M510061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn't the simple expressions work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;design_accept = {3}&amp;gt;} DISTINCT MachDatekey) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this in a table/chart with Date as a dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 12:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-on-Set-analysis-expression-with-dates-as-if-condition/m-p/91382#M510061</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-08-16T12:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Count on Set analysis expression with dates as if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Count-on-Set-analysis-expression-with-dates-as-if-condition/m-p/91383#M510062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't because that will become the third dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 13:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-on-Set-analysis-expression-with-dates-as-if-condition/m-p/91383#M510062</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-16T13:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Count on Set analysis expression with dates as if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Count-on-Set-analysis-expression-with-dates-as-if-condition/m-p/91384#M510063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the expression.&lt;/P&gt;&lt;P&gt;Thanks all &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 05:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-on-Set-analysis-expression-with-dates-as-if-condition/m-p/91384#M510063</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-17T05:22:53Z</dc:date>
    </item>
  </channel>
</rss>

