<?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: substact N working day from a date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714532#M257137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there a way to do that on designer rather than developer ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 13:37:21 GMT</pubDate>
    <dc:creator>mohamed_ahid</dc:creator>
    <dc:date>2014-10-13T13:37:21Z</dc:date>
    <item>
      <title>substact N working day from a date</title>
      <link>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714528#M257133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm facing a probleme with date .Let me explain :&lt;/P&gt;&lt;P&gt;i want to get the date of today&amp;nbsp; minus 20 working day (dont count sunday and saturday)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exemple :&lt;/P&gt;&lt;P&gt;for october&amp;nbsp; 13 2014 - 20 = september 16 2014 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 12:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714528#M257133</guid>
      <dc:creator>mohamed_ahid</dc:creator>
      <dc:date>2014-10-13T12:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: substact N working day from a date</title>
      <link>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714529#M257134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dt:&lt;/P&gt;&lt;P&gt;Load Date(Dt_Minus_20) Where DayDiff=20;&lt;/P&gt;&lt;P&gt;Load NetWorkDays(Dt-(20+IterNo()),Today()) As DayDiff,Today()-(20+IterNo()) As Dt_Minus_20 While IterNo() &amp;lt; 10 ;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Today() As Dt&lt;/P&gt;&lt;P&gt;AUTOGENERATE(1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 12:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714529#M257134</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-13T12:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: substact N working day from a date</title>
      <link>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714530#M257135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thx but i didn't get your idea .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 13:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714530#M257135</guid>
      <dc:creator>mohamed_ahid</dc:creator>
      <dc:date>2014-10-13T13:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: substact N working day from a date</title>
      <link>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714531#M257136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Generate a row with today's date&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Today() As Dt&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AUTOGENERATE(1);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NetworkDays function return number of days between two dates without including weekends. Following statement generate 9 rows from Today()-20( 22-09-2014) to 14-09-2014&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load NetWorkDays(Dt-(20+IterNo()),Today()) As DayDiff,Today()-(20+IterNo()) As Dt_Minus_20 While IterNo() &amp;lt; 10 &lt;IMG alt="137573.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/68805_137573.png" /&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Following statement picks date exactly 20 days from current day&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load Date(Dt_Minus_20) Where DayDiff=20;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 13:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714531#M257136</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-13T13:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: substact N working day from a date</title>
      <link>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714532#M257137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there a way to do that on designer rather than developer ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 13:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714532#M257137</guid>
      <dc:creator>mohamed_ahid</dc:creator>
      <dc:date>2014-10-13T13:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: substact N working day from a date</title>
      <link>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714533#M257138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Test this expr&lt;/P&gt;&lt;P&gt;=Date(If(NetWorkDays(Today()-26,Today()) = 20,Today()-26,If(NetWorkDays(Today()-27,Today()) = 20,Today()-27,If(NetWorkDays(Today()-28,Today()) = 20,Today()-28))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 14:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714533#M257138</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-13T14:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: substact N working day from a date</title>
      <link>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714534#M257139</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;=FirstWorkDate(Date#('2013/10/13'), 20)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 14:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714534#M257139</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-10-13T14:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: substact N working day from a date</title>
      <link>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714535#M257140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx Anbu and Jonathan you were GREAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 14:33:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substact-N-working-day-from-a-date/m-p/714535#M257140</guid>
      <dc:creator>mohamed_ahid</dc:creator>
      <dc:date>2014-10-13T14:33:31Z</dc:date>
    </item>
  </channel>
</rss>

