<?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: Function Issue? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Function-Issue/m-p/281666#M498021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right. Now I decide to use module function in load script. But the performance too much poor (take 2 or 3 sec for fetch 1 record). Please take a look with attahced file and help me to modify the function to get the same result and better performance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate for your help. &lt;/P&gt;&lt;P&gt;Regards,Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Sep 2011 01:03:59 GMT</pubDate>
    <dc:creator>Sokkorn</dc:creator>
    <dc:date>2011-09-23T01:03:59Z</dc:date>
    <item>
      <title>Function Issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Issue/m-p/281662#M498017</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;I create one function in module. It work well when I use in load script. But the problem is when I use in Expression then I got null value. What wrong with this? Anyone know how to create function to use in Expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 09:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Issue/m-p/281662#M498017</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2011-09-22T09:29:45Z</dc:date>
    </item>
    <item>
      <title>Function Issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Issue/m-p/281663#M498018</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;I know you can use them in the load script, but can you use module functions in expressions? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have never managed to get that working (OK I only tried once, without success).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 09:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Issue/m-p/281663#M498018</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-09-22T09:58:38Z</dc:date>
    </item>
    <item>
      <title>Function Issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Issue/m-p/281664#M498019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Jonathan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I cannot use module functions in expression. What I am looking for is how can I use module function in expression? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 10:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Issue/m-p/281664#M498019</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2011-09-22T10:12:58Z</dc:date>
    </item>
    <item>
      <title>Function Issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Issue/m-p/281665#M498020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sokkom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am saying is that I don't think that is possible - but I may be wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 18:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Issue/m-p/281665#M498020</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-09-22T18:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Function Issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Issue/m-p/281666#M498021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right. Now I decide to use module function in load script. But the performance too much poor (take 2 or 3 sec for fetch 1 record). Please take a look with attahced file and help me to modify the function to get the same result and better performance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate for your help. &lt;/P&gt;&lt;P&gt;Regards,Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 01:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Issue/m-p/281666#M498021</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2011-09-23T01:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Function Issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Issue/m-p/281667#M498022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the looping in the module code. Each call loops up to 20million times (average 10million). I don't know much about erlangB calcs, but I do not believe that the the script should loop so many times. I would check the erlang scripts on the internet and pay attention to your looping limits and test conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attached modification of your model shows how I tested this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 15:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Issue/m-p/281667#M498022</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-09-23T15:08:24Z</dc:date>
    </item>
  </channel>
</rss>

