<?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 the Number of Daily Records while Excluding Certain Values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-the-Number-of-Daily-Records-while-Excluding-Certain-Values/m-p/1111441#M18982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;count({$ &amp;lt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;StatusCode=-{8,9}, &lt;/EM&gt;datefield={'$(=today())'}&amp;gt;} ID)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2016 21:58:56 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2016-07-20T21:58:56Z</dc:date>
    <item>
      <title>Count the Number of Daily Records while Excluding Certain Values</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-Number-of-Daily-Records-while-Excluding-Certain-Values/m-p/1111438#M18979</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;I am having some trouble with my custom measures in Qlik Sense.&amp;nbsp; I am trying to count the number of records that were created today while excluding certain status codes. I am trying to exclude Status Codes 13 (deleted record) and 213 (test record), which should then result in a count of&amp;nbsp; all production records for the current day.&amp;nbsp; When I estimate the daily number of records, the deleted records and test records do not count towards the total.&amp;nbsp; I tried using nested IF statements, the Set Analysis Wizard, and a combination of both, all to no avail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To limit to the current day...I have used the expression [IF(Date(xDate) LIKE Date(Now(0)),ID)] in the Expression Builder and the set analysis wizard gives me &lt;SPAN style="color: #312e25; font-family: monospace; font-size: 11.44px; background-color: #f5f3e5;"&gt;Count({$&amp;lt;StatusCode-={13},StatusCode-={213}&amp;gt;}ID)&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt; to remove the two status codes from the set and then count the number of records that remain (ID).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that I can easily use the Data Load Editor to exclude the status codes and then use the expression builder to limit the results to the current day, but I am trying to create a master app that can have separate sheets for production unit records and for test and deleted records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerasimos Zapantis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 19:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-Number-of-Daily-Records-while-Excluding-Certain-Values/m-p/1111438#M18979</guid>
      <dc:creator>gzapantis1</dc:creator>
      <dc:date>2016-07-20T19:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Count the Number of Daily Records while Excluding Certain Values</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-Number-of-Daily-Records-while-Excluding-Certain-Values/m-p/1111439#M18980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;current date could be&lt;/P&gt;&lt;P&gt;&lt;EM&gt;count({$ &amp;lt;datefield={'$(=today())'}&amp;gt;} ID)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;maybe you need a date to format the today as your datefield&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exclude 2 status&lt;/P&gt;&lt;P&gt;&lt;EM&gt;count({$ &amp;lt;StatusCode=-{8,9}&amp;gt;} ID)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 20:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-Number-of-Daily-Records-while-Excluding-Certain-Values/m-p/1111439#M18980</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-07-20T20:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Count the Number of Daily Records while Excluding Certain Values</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-Number-of-Daily-Records-while-Excluding-Certain-Values/m-p/1111440#M18981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have both parts working on separate sheets, but I am not able to combine them to have one sheet of just daily production records.&amp;nbsp; I have a sheet for daily records and a sheet for production records, but I do not have one sheet that takes both conditions into account.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 20:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-Number-of-Daily-Records-while-Excluding-Certain-Values/m-p/1111440#M18981</guid>
      <dc:creator>gzapantis1</dc:creator>
      <dc:date>2016-07-20T20:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Count the Number of Daily Records while Excluding Certain Values</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-Number-of-Daily-Records-while-Excluding-Certain-Values/m-p/1111441#M18982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;count({$ &amp;lt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;StatusCode=-{8,9}, &lt;/EM&gt;datefield={'$(=today())'}&amp;gt;} ID)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 21:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-Number-of-Daily-Records-while-Excluding-Certain-Values/m-p/1111441#M18982</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-07-20T21:58:56Z</dc:date>
    </item>
  </channel>
</rss>

