<?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 Business Hours calculation through Sub in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Business-Hours-calculation-through-Sub/m-p/591971#M219478</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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i have written the code for calculating business hours between two dates in a SUB. how to call that from model through passing the fields to the SUB. as i need to calculate the business hours for each callno and i have to find this for many number of field combination i have still some more date fields to find. can any one help me on this plz....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jan 2014 04:51:47 GMT</pubDate>
    <dc:creator>rash_611</dc:creator>
    <dc:date>2014-01-31T04:51:47Z</dc:date>
    <item>
      <title>Business Hours calculation through Sub</title>
      <link>https://community.qlik.com/t5/QlikView/Business-Hours-calculation-through-Sub/m-p/591971#M219478</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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i have written the code for calculating business hours between two dates in a SUB. how to call that from model through passing the fields to the SUB. as i need to calculate the business hours for each callno and i have to find this for many number of field combination i have still some more date fields to find. can any one help me on this plz....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 04:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Business-Hours-calculation-through-Sub/m-p/591971#M219478</guid>
      <dc:creator>rash_611</dc:creator>
      <dc:date>2014-01-31T04:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Business Hours calculation through Sub</title>
      <link>https://community.qlik.com/t5/QlikView/Business-Hours-calculation-through-Sub/m-p/591972#M219479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want this sub to be used in load statement? If so, then create function in edit module/macro using vb/java script. Otherwise, sub created in the load script can't be used in load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 05:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Business-Hours-calculation-through-Sub/m-p/591972#M219479</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-01-31T05:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Business Hours calculation through Sub</title>
      <link>https://community.qlik.com/t5/QlikView/Business-Hours-calculation-through-Sub/m-p/591973#M219480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the reply... i just want to calculate the business hours for many fields how do i do that... if i write macro and call that each time it may impact the performance of the application as data is huge may be around 5k calls per day...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 05:27:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Business-Hours-calculation-through-Sub/m-p/591973#M219480</guid>
      <dc:creator>rash_611</dc:creator>
      <dc:date>2014-01-31T05:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Business Hours calculation through Sub</title>
      <link>https://community.qlik.com/t5/QlikView/Business-Hours-calculation-through-Sub/m-p/591974#M219481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Have a look at the below example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Sub Load1( F1, F2)&lt;BR /&gt;Final:&lt;BR /&gt;Load&lt;BR /&gt; $(F1)*100 as Field1,&lt;BR /&gt; $(F2)*100 as Field2&lt;BR /&gt;Resident data;&lt;BR /&gt;End Sub &lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;data:&lt;BR /&gt;load * Inline [&lt;BR /&gt;A, B, C&lt;BR /&gt;1, 2, 3&lt;BR /&gt;4, 5, 6&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Call Load1('A', 'B');&lt;BR /&gt;Call Load1('B','C');&lt;/P&gt;
&lt;P&gt;Drop Table data;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 05:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Business-Hours-calculation-through-Sub/m-p/591974#M219481</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-01-31T05:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Business Hours calculation through Sub</title>
      <link>https://community.qlik.com/t5/QlikView/Business-Hours-calculation-through-Sub/m-p/591975#M219482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot... it is working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 04:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Business-Hours-calculation-through-Sub/m-p/591975#M219482</guid>
      <dc:creator>rash_611</dc:creator>
      <dc:date>2014-02-14T04:19:34Z</dc:date>
    </item>
  </channel>
</rss>

