<?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: NetWorkDay expression not picking correct information in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921777#M986245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dates are not recognized correctly as date format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2015 10:24:42 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2015-07-30T10:24:42Z</dc:date>
    <item>
      <title>NetWorkDay expression not picking correct information</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921776#M986244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am new to QlikView.I want to calculate Total&amp;nbsp; networkdays for my Dashboard.I want to show the number of days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have following data:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Start date&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;End date&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For holidays i createed a variable vHoliday and run script &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;set&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;vHoliday&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; =&lt;BR /&gt; '2011/01/01',&lt;BR /&gt; '2011/03/21',&lt;BR /&gt; '2011/04/22',&lt;BR /&gt; '2015/04/06',&lt;BR /&gt; '2015/04/27',&lt;BR /&gt; '2015/05/01',&lt;BR /&gt; '2015/06/16',&lt;BR /&gt; '2015/08/09',&lt;BR /&gt; '2015/08/10',&lt;BR /&gt; '2015/09/24',&lt;BR /&gt; '2015/12/16',&lt;BR /&gt; '2015/12/25',&lt;BR /&gt; '2015/12/26';&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Total=&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;NetWorkDays(Start date,End date,$(&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;vHoliday&lt;/EM&gt;&lt;/STRONG&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;but its Returning 0 as Total value.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;What is the problem with this expression here.pls suggest.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 10:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921776#M986244</guid>
      <dc:creator />
      <dc:date>2015-07-30T10:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDay expression not picking correct information</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921777#M986245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dates are not recognized correctly as date format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 10:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921777#M986245</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-07-30T10:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDay expression not picking correct information</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921778#M986246</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;Cross check your startdate and enddate format..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 10:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921778#M986246</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2015-07-30T10:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDay expression not picking correct information</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921779#M986247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to share your sample qvw that demonstrates the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 10:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921779#M986247</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-07-30T10:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDay expression not picking correct information</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921780#M986248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try putting your holiday in online&lt;/P&gt;&lt;P&gt;set vHoliday ="'2011/01/01','2011/03/21','2011/04/22','2015/04/06','2015/04/27','2015/05/01','2015/06/16','2015/08/09','2015/08/10','2015/09/24','2015/12/16','2015/12/25','2015/12/26'";&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 10:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921780#M986248</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-07-30T10:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDay expression not picking correct information</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921781#M986249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u.It was in different format.I converted it to Start Date and End Date format to $vHoliday format.Then it Worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i have one more Question why cant i change $vHoliday format to&amp;nbsp; Start Date and End Date format.&lt;/P&gt;&lt;P&gt;below :&lt;/P&gt;&lt;P&gt;==NetWorkDays([Start Date],[Exp End Date],(Date(Date#($(vHoliday)),'YYYY/MM/DD'),'DD/MM/YYYY'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 11:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921781#M986249</guid>
      <dc:creator />
      <dc:date>2015-07-30T11:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDay expression not picking correct information</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921782#M986250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vHoliday is not a date, it is a list of dates. The Date# and Date functions accept a single string or single number respectively and cannot process your variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 11:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921782#M986250</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-30T11:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDay expression not picking correct information</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921783#M986251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to process that variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 12:09:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921783#M986251</guid>
      <dc:creator />
      <dc:date>2015-07-30T12:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDay expression not picking correct information</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921784#M986252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Let vHoliday2 = '';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For Each vDate In $(vHoliday)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Let vDate2 = Date(Date#(vDate, 'YYYY/MM/DD'), 'DD/MM/YYYY');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Let vHoliday2 = vHoliday2 &amp;amp; If(Len(vHoliday2) &amp;gt; 0, ',', '') &amp;amp; '''' &amp;amp; vDate2 &amp;amp; '''';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Next&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Let vHoliday = vHoliday2;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 12:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921784#M986252</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-30T12:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDay expression not picking correct information</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921785#M986253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no it didnt wort&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 13:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921785#M986253</guid>
      <dc:creator />
      <dc:date>2015-07-30T13:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDay expression not picking correct information</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921786#M986254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i couldnt get it .pls describe it.i m new to qlikview&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 13:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921786#M986254</guid>
      <dc:creator />
      <dc:date>2015-07-30T13:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: NetWorkDay expression not picking correct information</title>
      <link>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921787#M986255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET DateFormat='YYYY/MM/DD';&lt;/P&gt;&lt;P&gt;let Startdate='2015/06/01';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let Enddate='2015/07/01';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set vHoliday ="'2011/01/01','2011/03/21','2011/04/22','2015/04/06','2015/04/27','2015/05/01','2015/06/16','2015/08/09','2015/08/10','2015/09/24','2015/12/16','2015/12/25','2015/12/26'";&lt;/P&gt;&lt;P&gt;//set vHoliday ="'2015/12/25','2015/12/26'";&lt;/P&gt;&lt;P&gt;Total=NetWorkDays(Startdate,Enddate,$(vHoliday))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total should be 22&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 13:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetWorkDay-expression-not-picking-correct-information/m-p/921787#M986255</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-07-30T13:35:46Z</dc:date>
    </item>
  </channel>
</rss>

