<?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 Holidays in NetworkDays for Different Countries in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Holidays-in-NetworkDays-for-Different-Countries/m-p/1422938#M429013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to calculate lead times using the NetworkDays function in QlikSense but I need to distinguish the holidays for different countries. As you know, in Europe every country has its own holiday calendar and I would like to take that into account (to eliminate the holiday from the total lead time).&lt;/P&gt;&lt;P&gt;I would like to use an Excel file where I can keep track of all the holidays for each country (like the format below). What is the best way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="155"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="69"&gt;Country&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="86"&gt;Holiday&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;DE&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;01-Jan-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;DE&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;05-May-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;ES&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;03-Mar-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;ES&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;14-Aug-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;AT&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;24-Dec-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;AT&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;25-Dec-17&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Sep 2017 11:20:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-27T11:20:00Z</dc:date>
    <item>
      <title>Holidays in NetworkDays for Different Countries</title>
      <link>https://community.qlik.com/t5/QlikView/Holidays-in-NetworkDays-for-Different-Countries/m-p/1422938#M429013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to calculate lead times using the NetworkDays function in QlikSense but I need to distinguish the holidays for different countries. As you know, in Europe every country has its own holiday calendar and I would like to take that into account (to eliminate the holiday from the total lead time).&lt;/P&gt;&lt;P&gt;I would like to use an Excel file where I can keep track of all the holidays for each country (like the format below). What is the best way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="155"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="69"&gt;Country&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="86"&gt;Holiday&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;DE&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;01-Jan-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;DE&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;05-May-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;ES&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;03-Mar-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;ES&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;14-Aug-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;AT&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;24-Dec-17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;AT&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;25-Dec-17&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 11:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Holidays-in-NetworkDays-for-Different-Countries/m-p/1422938#M429013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-27T11:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Holidays in NetworkDays for Different Countries</title>
      <link>https://community.qlik.com/t5/QlikView/Holidays-in-NetworkDays-for-Different-Countries/m-p/1422939#M429014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be check this out&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/106943"&gt;Exclude holidays using Networkdays() in script&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 11:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Holidays-in-NetworkDays-for-Different-Countries/m-p/1422939#M429014</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-27T11:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Holidays in NetworkDays for Different Countries</title>
      <link>https://community.qlik.com/t5/QlikView/Holidays-in-NetworkDays-for-Different-Countries/m-p/1422940#M429015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As i understand, you would like to calculate real number of day in month, excluding holidays (if are not a saturday or sunday). I use below solution in charts as expresion calculation with set analysis.&lt;/P&gt;&lt;P&gt;For first you shoud make a list of holidays with option and load it into data model:&lt;/P&gt;&lt;P&gt;- Country&lt;/P&gt;&lt;P&gt;- flag Y/N if the day is a saturday/sunday or not&lt;/P&gt;&lt;P&gt;It may be table without realations to others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use folowing expresion:&lt;/P&gt;&lt;P&gt;NetWorkDays(MonthStart(ReloadTime()),date(ReloadTime()),'$(=Concat( {1&amp;lt;SaturdaySundayFlag={N},Country={value}&amp;gt;} distinct&amp;nbsp; [HolidayDate],chr(39)&amp;amp;','&amp;amp;chr(39)))'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 11:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Holidays-in-NetworkDays-for-Different-Countries/m-p/1422940#M429015</guid>
      <dc:creator />
      <dc:date>2017-09-27T11:47:01Z</dc:date>
    </item>
  </channel>
</rss>

