<?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 NetworkDays in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/NetworkDays-in-script/m-p/1591470#M443589</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Have an issue with networkdays function when i use it script&lt;/P&gt;&lt;P&gt;There is a holiday on 6/6/2019 for a country. and in the below script there are multiple countries involved and for each country there are common and also different holidays.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so the question is how to assign the values of dates to a variable so that the variable can be used in networkdays function as a 3rd parameter if we select a country in list box.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="example" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13698i5B8EB2C7CEE085CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="test.png" alt="example" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;example&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;BR /&gt;[Indate, Outdate&lt;BR /&gt;6/5/2019, 6/7/2019];&lt;/P&gt;&lt;P&gt;Holiday:&lt;BR /&gt;LOAD Slno,&lt;BR /&gt;Country,&lt;BR /&gt;Num([Holiday_Date]) as Public_Holiday_Date_Num,&lt;BR /&gt;date(Holiday_Date) as Public_Holiday_Date,&lt;BR /&gt;FROM&lt;BR /&gt;[..\..\Holiday list 2019_US_EU.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;Holiday_List:&lt;BR /&gt;load&lt;BR /&gt;concat(chr(39) &amp;amp; Public_Holiday_Date_Num &amp;amp; chr(39),',') as ListOfHolidays_Num,&lt;BR /&gt;Country&lt;BR /&gt;Resident Holiday Group By Country;&lt;/P&gt;&lt;P&gt;DROP Table Holiday;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;LET vListOfHolidays = ; ????&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;EXIT SCRIPT;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 20:40:32 GMT</pubDate>
    <dc:creator>pipuindia99</dc:creator>
    <dc:date>2024-11-16T20:40:32Z</dc:date>
    <item>
      <title>NetworkDays in script</title>
      <link>https://community.qlik.com/t5/QlikView/NetworkDays-in-script/m-p/1591470#M443589</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Have an issue with networkdays function when i use it script&lt;/P&gt;&lt;P&gt;There is a holiday on 6/6/2019 for a country. and in the below script there are multiple countries involved and for each country there are common and also different holidays.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so the question is how to assign the values of dates to a variable so that the variable can be used in networkdays function as a 3rd parameter if we select a country in list box.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="example" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13698i5B8EB2C7CEE085CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="test.png" alt="example" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;example&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;BR /&gt;[Indate, Outdate&lt;BR /&gt;6/5/2019, 6/7/2019];&lt;/P&gt;&lt;P&gt;Holiday:&lt;BR /&gt;LOAD Slno,&lt;BR /&gt;Country,&lt;BR /&gt;Num([Holiday_Date]) as Public_Holiday_Date_Num,&lt;BR /&gt;date(Holiday_Date) as Public_Holiday_Date,&lt;BR /&gt;FROM&lt;BR /&gt;[..\..\Holiday list 2019_US_EU.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;Holiday_List:&lt;BR /&gt;load&lt;BR /&gt;concat(chr(39) &amp;amp; Public_Holiday_Date_Num &amp;amp; chr(39),',') as ListOfHolidays_Num,&lt;BR /&gt;Country&lt;BR /&gt;Resident Holiday Group By Country;&lt;/P&gt;&lt;P&gt;DROP Table Holiday;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;LET vListOfHolidays = ; ????&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;EXIT SCRIPT;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetworkDays-in-script/m-p/1591470#M443589</guid>
      <dc:creator>pipuindia99</dc:creator>
      <dc:date>2024-11-16T20:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: NetworkDays in script</title>
      <link>https://community.qlik.com/t5/QlikView/NetworkDays-in-script/m-p/1591474#M443590</link>
      <description>&lt;P&gt;Holiday_List:&lt;BR /&gt;load&lt;BR /&gt;concat( Public_Holiday_Date_Num,',') as ListOfHolidays_Num,&lt;BR /&gt;Country&lt;BR /&gt;Resident Holiday Group By Country;&lt;/P&gt;&lt;P&gt;DROP Table Holiday;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;LET vListOfHolidays = '=Only(ListOfHolidays_Num)'&amp;nbsp; ;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 09:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetworkDays-in-script/m-p/1591474#M443590</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-06-13T09:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: NetworkDays in script</title>
      <link>https://community.qlik.com/t5/QlikView/NetworkDays-in-script/m-p/1591477#M443591</link>
      <description>&lt;P&gt;thanks Gysbert, it worked i tried mulitple ways like using peek, fieldvalue and even only function as well, nothing worked. and now i remember to include "=" in front of only &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 09:53:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/NetworkDays-in-script/m-p/1591477#M443591</guid>
      <dc:creator>pipuindia99</dc:creator>
      <dc:date>2019-06-13T09:53:08Z</dc:date>
    </item>
  </channel>
</rss>

