<?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 days from range!!! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432878#M813772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another approach could be, create field in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;fabs(Evaluate(Field))+1 as WorkingDays&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can write the expression&lt;/P&gt;&lt;P&gt;sum(&lt;SPAN style="font-size: 13.3333px;"&gt;WorkingDays)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Note:Field = schedule week_new&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Sep 2017 11:49:27 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2017-09-18T11:49:27Z</dc:date>
    <item>
      <title>count days from range!!!</title>
      <link>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432872#M813766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the working days from Monday to Friday and we are not considering Saturday and Sunday and other holidays&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="176907" alt="Capture1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176907_Capture1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From here I want to calculate no of working days per month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In March, total working days&lt;/P&gt;&lt;P&gt;1-3------&amp;gt;3&lt;/P&gt;&lt;P&gt;6-10----&amp;gt;5&lt;/P&gt;&lt;P&gt;13-17---&amp;gt;5&lt;/P&gt;&lt;P&gt;20-24---&amp;gt;5&lt;/P&gt;&lt;P&gt;27-31---&amp;gt;5&lt;/P&gt;&lt;P&gt;3+5+5+5+5=23 days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In KPI, I want to show no of working days for remaining months as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do we accomplish this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest.&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/count-days-from-range/m-p/1432872#M813766</guid>
      <dc:creator>antonybi</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: count days from range!!!</title>
      <link>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432873#M813767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with straight table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dimension -&amp;gt; month&lt;/P&gt;&lt;P&gt;expression&lt;/P&gt;&lt;P&gt;-&amp;gt;sum(subfield(Schedule week_new,'-',2)-&lt;SPAN style="font-size: 13.3333px;"&gt;subfield(Schedule week_new,'-',1)&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 10:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432873#M813767</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-09-18T10:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: count days from range!!!</title>
      <link>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432874#M813768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or may be just (without sum) 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;subfield(Schedule week_new,'-',2)-&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;subfield(Schedule week_new,'-',1) &lt;STRONG&gt;+1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 10:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432874#M813768</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-09-18T10:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: count days from range!!!</title>
      <link>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432875#M813769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks tresesco for correction but I am not sure how to write logic for last value in Schedule week_new list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 10:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432875#M813769</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-09-18T10:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: count days from range!!!</title>
      <link>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432876#M813770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why don't you calculate the no of Working Days in the script where you calculate the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Schedule week_new field and in the UI you just use a simple sum aggregated by Month?&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;Regards,&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;Andrei&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 10:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432876#M813770</guid>
      <dc:creator>andrei_delta</dc:creator>
      <dc:date>2017-09-18T10:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: count days from range!!!</title>
      <link>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432877#M813771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for quick response!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="176918" alt="Capture2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176918_Capture2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As above snapshot, it is clearly showing for Jan month 30-3(&lt;SPAN style="font-size: 13.3333px;"&gt;Jan30-Feb3&lt;/SPAN&gt;) &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Here, I want to split the dates Jan30 and Jan31 into Jan Month&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;and consider remaining days(Feb1, Feb2 and Feb3) into Feb Month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this possible ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 10:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432877#M813771</guid>
      <dc:creator>antonybi</dc:creator>
      <dc:date>2017-09-18T10:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: count days from range!!!</title>
      <link>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432878#M813772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another approach could be, create field in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;fabs(Evaluate(Field))+1 as WorkingDays&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can write the expression&lt;/P&gt;&lt;P&gt;sum(&lt;SPAN style="font-size: 13.3333px;"&gt;WorkingDays)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Note:Field = schedule week_new&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 11:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432878#M813772</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-18T11:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: count days from range!!!</title>
      <link>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432879#M813773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use network days function and also we can get count of working days after excluding holidays too&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 13:57:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-days-from-range/m-p/1432879#M813773</guid>
      <dc:creator>omkarvamsi</dc:creator>
      <dc:date>2017-09-18T13:57:34Z</dc:date>
    </item>
  </channel>
</rss>

