<?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 between two dates but also using networkdays as a criteria in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/counting-between-two-dates-but-also-using-networkdays-as-a/m-p/1803834#M65281</link>
    <description>&lt;P&gt;Update -&amp;nbsp; The above actually seems to work, I was just comparing it incorrectly with an Excel version of the report where I set networkdays up to minus 1 off the result &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Unless anyone can see anything glaringly wrong?&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 13:22:05 GMT</pubDate>
    <dc:creator>LukeWarm1989</dc:creator>
    <dc:date>2021-04-29T13:22:05Z</dc:date>
    <item>
      <title>counting between two dates but also using networkdays as a criteria</title>
      <link>https://community.qlik.com/t5/App-Development/counting-between-two-dates-but-also-using-networkdays-as-a/m-p/1803828#M65278</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to create an expression to get a count between a specific time period which also matches a specific criteria - The criteria being if networkdays &amp;lt;= 1, but unfortunately i can't seem to get the result I desire. So far I have the following -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;count({$&amp;lt;ClaimCreatedDate = {'&amp;gt;=$(=date(WeekStart(today())-7)) &amp;lt;=$(=date(WeekStart(today())-1))'}&amp;gt;} FirstSuccessfulContact )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This give's me the count of the number of contacts that happened in the time period of last week - however I need the expression to only count the&amp;nbsp;FirstSuccessfulContact instances that were completed in &amp;lt;= 1 networkday.&lt;/P&gt;&lt;P&gt;I've tried a few variation but can't seem to get the correct output - Last example was something like this -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;count({$&amp;lt;ClaimCreatedDate = {'&amp;gt;=$(=date(WeekStart(today())-7)) &amp;lt;=$(=date(WeekStart(today())-1))'}&amp;gt;} if(NetWorkDays(ClaimCreatedDate,FirstSuccessfulContact) &amp;lt;=1, FirstSuccessfulContact)) &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But no luck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;can anybody help?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 15:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/counting-between-two-dates-but-also-using-networkdays-as-a/m-p/1803828#M65278</guid>
      <dc:creator>LukeWarm1989</dc:creator>
      <dc:date>2021-12-22T15:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: counting between two dates but also using networkdays as a criteria</title>
      <link>https://community.qlik.com/t5/App-Development/counting-between-two-dates-but-also-using-networkdays-as-a/m-p/1803834#M65281</link>
      <description>&lt;P&gt;Update -&amp;nbsp; The above actually seems to work, I was just comparing it incorrectly with an Excel version of the report where I set networkdays up to minus 1 off the result &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Unless anyone can see anything glaringly wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 13:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/counting-between-two-dates-but-also-using-networkdays-as-a/m-p/1803834#M65281</guid>
      <dc:creator>LukeWarm1989</dc:creator>
      <dc:date>2021-04-29T13:22:05Z</dc:date>
    </item>
  </channel>
</rss>

