<?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 Front End Expression count if? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Front-End-Expression-count-if/m-p/1756331#M719619</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am working with data from a service management tool. How can I count specific incident numbers?&lt;/P&gt;&lt;P&gt;Goal: Count INCIDENT_NUMBERS if INCIDENT_STATE = 'New' or 'In Progress' AND CREATED_DATE = TODAY OR&amp;nbsp;&amp;nbsp;CREATED_DATE = TODAY -1&lt;/P&gt;&lt;P&gt;Note: expression must be dynamic and not the dates hardcoded&lt;/P&gt;&lt;P&gt;Attempts:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) =if(CREATED_DATE&amp;gt;=today()-1 or CREATED_DATE&amp;lt;=today()-1,count({&amp;lt;INCIDENT_STATE='New','In Progress','On Hold'}&amp;gt;} INCIDENT_NUMBERS)&lt;/P&gt;&lt;P&gt;2) =Count({$&amp;lt;INCIDENT_STATE={'New','In Progress'},CREATED_DATE{&amp;gt;=Today()-1&amp;lt;=Today()}&amp;gt;}INCIDENT_NUMBERS)&lt;/P&gt;&lt;P&gt;Thank you for your time, it's much appreciated!&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:44:04 GMT</pubDate>
    <dc:creator>QlikV1</dc:creator>
    <dc:date>2024-11-15T23:44:04Z</dc:date>
    <item>
      <title>Front End Expression count if?</title>
      <link>https://community.qlik.com/t5/QlikView/Front-End-Expression-count-if/m-p/1756331#M719619</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am working with data from a service management tool. How can I count specific incident numbers?&lt;/P&gt;&lt;P&gt;Goal: Count INCIDENT_NUMBERS if INCIDENT_STATE = 'New' or 'In Progress' AND CREATED_DATE = TODAY OR&amp;nbsp;&amp;nbsp;CREATED_DATE = TODAY -1&lt;/P&gt;&lt;P&gt;Note: expression must be dynamic and not the dates hardcoded&lt;/P&gt;&lt;P&gt;Attempts:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) =if(CREATED_DATE&amp;gt;=today()-1 or CREATED_DATE&amp;lt;=today()-1,count({&amp;lt;INCIDENT_STATE='New','In Progress','On Hold'}&amp;gt;} INCIDENT_NUMBERS)&lt;/P&gt;&lt;P&gt;2) =Count({$&amp;lt;INCIDENT_STATE={'New','In Progress'},CREATED_DATE{&amp;gt;=Today()-1&amp;lt;=Today()}&amp;gt;}INCIDENT_NUMBERS)&lt;/P&gt;&lt;P&gt;Thank you for your time, it's much appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Front-End-Expression-count-if/m-p/1756331#M719619</guid>
      <dc:creator>QlikV1</dc:creator>
      <dc:date>2024-11-15T23:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Front End Expression count if?</title>
      <link>https://community.qlik.com/t5/QlikView/Front-End-Expression-count-if/m-p/1756334#M719620</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/126338"&gt;@QlikV1&lt;/a&gt;&amp;nbsp; try below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({$&amp;lt;INCIDENT_STATE={'New','In Progress'},CREATED_DATE={"&amp;gt;=$(=date(Today()-1))&amp;lt;=$(=date(Today()))"}&amp;gt;}INCIDENT_NUMBERS)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 15:40:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Front-End-Expression-count-if/m-p/1756334#M719620</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-27T15:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Front End Expression count if?</title>
      <link>https://community.qlik.com/t5/QlikView/Front-End-Expression-count-if/m-p/1756340#M719621</link>
      <description>&lt;P&gt;Awesome! Works like a charm and I understand what I did wrong : )&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 15:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Front-End-Expression-count-if/m-p/1756340#M719621</guid>
      <dc:creator>QlikV1</dc:creator>
      <dc:date>2020-10-27T15:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Front End Expression count if?</title>
      <link>https://community.qlik.com/t5/QlikView/Front-End-Expression-count-if/m-p/1756373#M719622</link>
      <description>&lt;P&gt;As a follow-up question, if I want the same expression but a different date range (still calculated from today's date), would I simply change the "today()" &amp;amp;&amp;nbsp;"today()-1"?&lt;/P&gt;&lt;P&gt;I tried to change the values but the numbers don't add up.&lt;/P&gt;&lt;P&gt;Eventually, I need to count incidents for:&lt;/P&gt;&lt;P&gt;- today and yesterday (formula above)&lt;/P&gt;&lt;P&gt;- last 7 days (not including today and yesterday)&lt;/P&gt;&lt;P&gt;- everything in CREATED_DATE not including the last 7 days&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 16:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Front-End-Expression-count-if/m-p/1756373#M719622</guid>
      <dc:creator>QlikV1</dc:creator>
      <dc:date>2020-10-27T16:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Front End Expression count if?</title>
      <link>https://community.qlik.com/t5/QlikView/Front-End-Expression-count-if/m-p/1756379#M719623</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/126338"&gt;@QlikV1&lt;/a&gt;&amp;nbsp; may try below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- last 7 days (not including today and yesterday)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({$&amp;lt;INCIDENT_STATE={'New','In Progress'},CREATED_DATE={"&amp;gt;=$(=date(Today()-7))&amp;lt;$(=date(Today()-1))"}&amp;gt;}INCIDENT_NUMBERS)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- everything in CREATED_DATE not including the last 7 days&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({$&amp;lt;INCIDENT_STATE={'New','In Progress'},CREATED_DATE={"&amp;lt;$(=date(Today()-7))"}&amp;gt;}INCIDENT_NUMBERS)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 16:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Front-End-Expression-count-if/m-p/1756379#M719623</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-27T16:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Front End Expression count if?</title>
      <link>https://community.qlik.com/t5/QlikView/Front-End-Expression-count-if/m-p/1758098#M719624</link>
      <description>&lt;P&gt;You are amazing, thanks!!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 12:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Front-End-Expression-count-if/m-p/1758098#M719624</guid>
      <dc:creator>QlikV1</dc:creator>
      <dc:date>2020-11-03T12:47:26Z</dc:date>
    </item>
  </channel>
</rss>

