<?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 Regarding decisions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Regarding-decisions/m-p/504168#M1133873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do we decide when calculating&amp;nbsp; a parameter is it better to go with the calculatiions in the UI or to go for doing the same in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any scenarios?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know whats the best practice so that it does not affect the performance of the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Nov 2013 10:32:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-28T10:32:17Z</dc:date>
    <item>
      <title>Regarding decisions</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-decisions/m-p/504168#M1133873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do we decide when calculating&amp;nbsp; a parameter is it better to go with the calculatiions in the UI or to go for doing the same in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any scenarios?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know whats the best practice so that it does not affect the performance of the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 10:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-decisions/m-p/504168#M1133873</guid>
      <dc:creator />
      <dc:date>2013-11-28T10:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding decisions</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-decisions/m-p/504169#M1133874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Senthil&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always try and back things off into the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 10:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-decisions/m-p/504169#M1133874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-28T10:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding decisions</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-decisions/m-p/504170#M1133875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the calculations depend on the values selected, changed or entered by the user, they have to be done in the UI. In all other cases, it is preferable to do the calculations in the script for better performance. Even in cases where UI determines the result, it is better to identify which parts of the calculations are not dependent on user interaction and do them in the script so that on-the-fly calculations are kept to a minimum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 10:40:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-decisions/m-p/504170#M1133875</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2013-11-28T10:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding decisions</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-decisions/m-p/504171#M1133876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;To add to the others, then it might be worth setting some "flags" in your LOAD script and then in your application do a SUM of these flags in order to calculate the result.&lt;/SPAN&gt;&lt;/P&gt;&lt;ADDRESS&gt;&lt;SPAN style="font-size: 10pt;"&gt;If you e.g. know that you always want to count the number of customers that have placed and order within the the last month, then you can add a "flag" in your LOAD script and set it to 1 if the customer has placed an order. In your application you can then add a SUM(FlagField) which will then give you the number of customers that have placed an order.&lt;/SPAN&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;SPAN style="font-size: 10pt;"&gt;This will put some of the calculations to the script, but of course ther will stille be cases where this isn't enough and you'll have to calculate things on the fly.&lt;/SPAN&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;SPAN style="font-size: 10pt;"&gt;Steen&lt;/SPAN&gt;&lt;/ADDRESS&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 12:50:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-decisions/m-p/504171#M1133876</guid>
      <dc:creator>sspe</dc:creator>
      <dc:date>2013-11-28T12:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding decisions</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-decisions/m-p/504172#M1133877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use set &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;analysis, often I put some calculations in UI, otherwise all calculations go in script. But I don't believe that works for any qlikview user at &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;despite this works for me.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 13:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-decisions/m-p/504172#M1133877</guid>
      <dc:creator />
      <dc:date>2013-11-28T13:14:51Z</dc:date>
    </item>
  </channel>
</rss>

