<?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: Differing behaviour in script and front end in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Differing-behaviour-in-script-and-front-end/m-p/1092646#M640895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because it's been a long week and I am an idiot! A simple typo but I couldn't see the wood for the tree&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Bill &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Mar 2016 10:37:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-04T10:37:40Z</dc:date>
    <item>
      <title>Differing behaviour in script and front end</title>
      <link>https://community.qlik.com/t5/QlikView/Differing-behaviour-in-script-and-front-end/m-p/1092643#M640892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I am sure there is a valid explanation why this is happening but as I can't figure it out I am turning to the experts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I have a table which loads UK bank holidays from the web and then concatenates/comma separates them.&amp;nbsp; I then move them into a variable as follows:&lt;/SPAN&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;LET PublicHolidayList = peek('PublicHolida&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;yList');&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;This is the result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;'01/01/2015', '01/01/2016', '01/05/2017', '02/01/2017', '02/05/2016', '03/04/2015', '04/05/2015', '06/04/2015', '14/04/2017', '17/04/2017', '25/03/2016', '25/05/2015', '25/12/2015', '25/12/2017', '26/12/2016', '26/12/2017', '27/12/2016', '28/03/2016', '28/08/2017', '28/12/2015', '29/05/2017', '29/08/2016', '30/05/2016', '31/08/2015'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;In my calendar load I am using this statement:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;networkdays(monthstart(Date,0),Date,$(#PublicHolidayList))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;If I use the exact same statement in a chart I get different (correct) results.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;For January 2016&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Date&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;NetWorkDays (script)&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;&lt;STRONG&gt;NetWorkDays (table expr)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01/01/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;02/01/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;03/01/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;04/01/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;05/01/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;06/01/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;etc...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;It looks like the script is not 'seeing' a valid date in the last argument of networkdays and assigning it a work day.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;What am I missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Oli&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 10:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differing-behaviour-in-script-and-front-end/m-p/1092643#M640892</guid>
      <dc:creator />
      <dc:date>2016-03-04T10:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Differing behaviour in script and front end</title>
      <link>https://community.qlik.com/t5/QlikView/Differing-behaviour-in-script-and-front-end/m-p/1092644#M640893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why have you got the &lt;STRONG style="color: #ff0000;"&gt;#&lt;/STRONG&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;networkdays(monthstart(Date,0),Date,$(&lt;STRONG style="color: #ff0000;"&gt;#&lt;/STRONG&gt;PublicHolidayList))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 10:31:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differing-behaviour-in-script-and-front-end/m-p/1092644#M640893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-04T10:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Differing behaviour in script and front end</title>
      <link>https://community.qlik.com/t5/QlikView/Differing-behaviour-in-script-and-front-end/m-p/1092645#M640894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also if in your Straight Table you remove the label from an expression and then hover over where the label it should show you the expression with the dollar expansion expanded which makes diagnostics easier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 10:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differing-behaviour-in-script-and-front-end/m-p/1092645#M640894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-04T10:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Differing behaviour in script and front end</title>
      <link>https://community.qlik.com/t5/QlikView/Differing-behaviour-in-script-and-front-end/m-p/1092646#M640895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because it's been a long week and I am an idiot! A simple typo but I couldn't see the wood for the tree&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Bill &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 10:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differing-behaviour-in-script-and-front-end/m-p/1092646#M640895</guid>
      <dc:creator />
      <dc:date>2016-03-04T10:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Differing behaviour in script and front end</title>
      <link>https://community.qlik.com/t5/QlikView/Differing-behaviour-in-script-and-front-end/m-p/1092647#M640896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it working for you now ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I often go snow blind as well after staring at screen for too long and can no longer see the BLOB, as in the BLindingly OBvious.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 10:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differing-behaviour-in-script-and-front-end/m-p/1092647#M640896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-04T10:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Differing behaviour in script and front end</title>
      <link>https://community.qlik.com/t5/QlikView/Differing-behaviour-in-script-and-front-end/m-p/1092648#M640897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All good now thank Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 08:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differing-behaviour-in-script-and-front-end/m-p/1092648#M640897</guid>
      <dc:creator />
      <dc:date>2016-03-07T08:58:46Z</dc:date>
    </item>
  </channel>
</rss>

