<?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: Counting MTD misses in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-MTD-misses/m-p/1365790#M825149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create in script like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Processed_Dash &amp;lt; Daily_Target_Dash, 1,0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and expression is&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Flag = {'1'}, Month = {'$(=Month(Today()))'}, Year = {'$(=Year(Today()))'}&amp;gt;} DISTINCT Date_Dash)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Or, One ugly expression this? But, I don't consider it is use&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Count({&amp;lt;&lt;STRONG style="font-size: 13.3333px;"&gt;Processed_Dash = {"=&lt;STRONG style="font-size: 13.3333px;"&gt;Processed_Dash &amp;lt; Daily_Target_Dash&lt;/STRONG&gt;"}, &lt;/STRONG&gt;Month = {'$(=Month(Today()))'}, Year = {'$(=Year(Today()))'}&amp;gt;} DISTINCT Date_Dash)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jul 2017 17:39:31 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-07-11T17:39:31Z</dc:date>
    <item>
      <title>Counting MTD misses</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-MTD-misses/m-p/1365789#M825148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="count.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/169832_count.PNG" style="width: 620px; height: 97px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having some trouble think this one through. &lt;/P&gt;&lt;P&gt;Trying to count the number of days where Processed_Dash is less than Daily_Target_Dash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would assume something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;Processed_Dash &amp;lt; Daily_Target_Dash}, Month = {"$(=Month(Today()))"}, Year = {"$(=Year(Today()))"}&amp;gt;} distinct Date_Dash)&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/Counting-MTD-misses/m-p/1365789#M825148</guid>
      <dc:creator>joshrussin</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Counting MTD misses</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-MTD-misses/m-p/1365790#M825149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create in script like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Processed_Dash &amp;lt; Daily_Target_Dash, 1,0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and expression is&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Flag = {'1'}, Month = {'$(=Month(Today()))'}, Year = {'$(=Year(Today()))'}&amp;gt;} DISTINCT Date_Dash)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Or, One ugly expression this? But, I don't consider it is use&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Count({&amp;lt;&lt;STRONG style="font-size: 13.3333px;"&gt;Processed_Dash = {"=&lt;STRONG style="font-size: 13.3333px;"&gt;Processed_Dash &amp;lt; Daily_Target_Dash&lt;/STRONG&gt;"}, &lt;/STRONG&gt;Month = {'$(=Month(Today()))'}, Year = {'$(=Year(Today()))'}&amp;gt;} DISTINCT Date_Dash)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 17:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-MTD-misses/m-p/1365790#M825149</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-11T17:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Counting MTD misses</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-MTD-misses/m-p/1365791#M825152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One solution could be &lt;STRONG style="color: #0000ff;"&gt;Count(Distinct If(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Processed_Dash &amp;lt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Daily_Target_Dash, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #0000ff;"&gt;Date_Dash))&lt;/STRONG&gt;. Although, this may affect the calculation time depending on the number of records you have in your data model.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', 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: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 17:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-MTD-misses/m-p/1365791#M825152</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2017-07-11T17:48:20Z</dc:date>
    </item>
  </channel>
</rss>

