<?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: Computing Expressions on Script Level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205954#M880841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you are aggregating things at the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;Year_Quarter&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt; &lt;/EM&gt;level and this could certainly be done in the script using &lt;EM&gt;group by&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just finishing off redesigning a dashboard that displays many things at a month aggregation level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original had about 50 million data rows and the front end was stuffed full of horrendous expressions [albeit very cunning some of them]&amp;nbsp; and its performance was bad, plus it chewed up loads of RAM &amp;amp; CPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My new version has about 70 thousand rows and the front end only has simple expressions.&amp;nbsp; It is now lightening fast and consumes negligible RAM &amp;amp; CPU.&amp;nbsp; [Both cost money and CPU cycles consume electricity, making heat that needs air con cooling that takes more power that all contributes to global warming as well reducing the business's profit]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My personal general rules of thumb are :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If it can be done in the script then do it in the script&lt;/LI&gt;&lt;LI&gt;If your front end is full of over complex expressions then the data model is in need of improvement&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One does need to think about what level of granularity is needed in the front end:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you need to drill down to transaction level then you need to load your data at the &lt;SPAN style="font-size: 13.3333px;"&gt;transaction level so aggregation to a higher level would not be appropriate&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But in my scenario the lowest level of front end drill down needed was &lt;EM&gt;month&lt;/EM&gt;, so it was a perfect candidate for &lt;EM&gt;month&lt;/EM&gt; level aggregation in the script&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I also had a few other dimension to consider, such as Business Unit, Customer, Type, Function - So the group by was actually on these dimensions as well as month&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But not knowing the details of your data model &amp;amp; needs I cannot make any definitive suggestions for your specific scenario.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Oct 2016 12:40:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-07T12:40:23Z</dc:date>
    <item>
      <title>Computing Expressions on Script Level</title>
      <link>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205947#M880834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have almso 20-25 expressions calculated on UI level across various Charts and Graphs for 20 Domensions (almost). The Application is getting affected because of the loading or refreshing time of charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate all or may be few expressions in UI level. Please guide me accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following are a few expressions used in UI level--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Annual Loss Amount - (Sum({&amp;lt;Year_Quarter = {"$(=Max(&lt;SPAN style="font-size: 13.3333px;"&gt;Year_Quarter&lt;/SPAN&gt;))"}&amp;gt;}Disitnct Annual_Loss)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Loss Amount Ratio - &lt;SPAN style="font-size: 13.3333px;"&gt;(Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;Disitnct &lt;/SPAN&gt;Annual_Loss) + Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;Disitnct &lt;/SPAN&gt;Risk_Loss) + Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;Disitnct &lt;/SPAN&gt;Settlement_Cost)) / Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;Disitnct &lt;/SPAN&gt;Premium_Amount)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Insurance Premium - Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt;Year_Quarter = {"$(=Max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Year_Quarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;))"}&amp;gt;}Disitnct Policy_Premium&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Premium Ratio - &lt;SPAN style="font-size: 13.3333px;"&gt;Sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt;Year_Quarter = {"$(=Max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Year_Quarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;))"}&amp;gt;}Disitnct Policy_Premium&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;) / &lt;SPAN style="font-size: 13.3333px;"&gt;Sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt;Year_Quarter = {"$(=Max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Year_Quarter&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;))"}&amp;gt;}Disitnct Premium_Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Likewise a few more. I am thinking to write above calculations with Group By all the Dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest correct way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205947#M880834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Computing Expressions on Script Level</title>
      <link>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205948#M880835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can be easier to help if you can provide a sample to work with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 19:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205948#M880835</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-06T19:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Computing Expressions on Script Level</title>
      <link>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205949#M880836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly is the meaning of all those DISTINCT keywords? Does it mean that&lt;SPAN style="font-size: 13.3333px;"&gt; for example&lt;/SPAN&gt; for every combination of dimension values, you can have only one $500 amount?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you should first do something about your data model?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 21:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205949#M880836</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-10-06T21:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Computing Expressions on Script Level</title>
      <link>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205950#M880837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have d correct data model. Chked with ETL team. Distinct we are using because we have same figure for each location.&lt;/P&gt;&lt;P&gt;Customer 1 has 5 location but the premium they are paying is same. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 06:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205950#M880837</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-07T06:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Computing Expressions on Script Level</title>
      <link>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205951#M880838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will surely do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 06:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205951#M880838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-07T06:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Computing Expressions on Script Level</title>
      <link>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205952#M880839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be spell is wrong, Try this &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DISTINCT&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; instead of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Disitnct&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1. Annual Loss Amount - (Sum({&amp;lt;Year_Quarter = {"$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Year_Quarter&lt;/SPAN&gt;))"}&amp;gt;} &lt;STRONG&gt;DISTINCT&lt;/STRONG&gt; Annual_Loss)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. Loss Amount Ratio - &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;(Sum(&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DISTINCT&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;Annual_Loss) + Sum(&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DISTINCT&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt; &lt;/SPAN&gt;Risk_Loss) + Sum(&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DISTINCT&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;Settlement_Cost)) / Sum(&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DISTINCT&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt; &lt;/SPAN&gt;Premium_Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3. Insurance Premium - Sum(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;{&amp;lt;Year_Quarter = {"$(=Max(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Year_Quarter&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;))"}&amp;gt;} &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DISTINCT&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt; Policy_Premium&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;4. Premium Ratio - &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sum(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;{&amp;lt;Year_Quarter = {"$(=Max(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Year_Quarter&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;))"}&amp;gt;}&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DISTINCT&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt; Policy_Premium&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;) /&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sum(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;{&amp;lt;Year_Quarter = {"$(=Max(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Year_Quarter&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;))"}&amp;gt;}&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DISTINCT&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;Premium_Amount&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 07:18:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205952#M880839</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-07T07:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Computing Expressions on Script Level</title>
      <link>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205953#M880840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want it to be done in script .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 09:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205953#M880840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-07T09:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Computing Expressions on Script Level</title>
      <link>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205954#M880841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you are aggregating things at the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;Year_Quarter&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt; &lt;/EM&gt;level and this could certainly be done in the script using &lt;EM&gt;group by&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just finishing off redesigning a dashboard that displays many things at a month aggregation level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original had about 50 million data rows and the front end was stuffed full of horrendous expressions [albeit very cunning some of them]&amp;nbsp; and its performance was bad, plus it chewed up loads of RAM &amp;amp; CPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My new version has about 70 thousand rows and the front end only has simple expressions.&amp;nbsp; It is now lightening fast and consumes negligible RAM &amp;amp; CPU.&amp;nbsp; [Both cost money and CPU cycles consume electricity, making heat that needs air con cooling that takes more power that all contributes to global warming as well reducing the business's profit]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My personal general rules of thumb are :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If it can be done in the script then do it in the script&lt;/LI&gt;&lt;LI&gt;If your front end is full of over complex expressions then the data model is in need of improvement&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One does need to think about what level of granularity is needed in the front end:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you need to drill down to transaction level then you need to load your data at the &lt;SPAN style="font-size: 13.3333px;"&gt;transaction level so aggregation to a higher level would not be appropriate&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But in my scenario the lowest level of front end drill down needed was &lt;EM&gt;month&lt;/EM&gt;, so it was a perfect candidate for &lt;EM&gt;month&lt;/EM&gt; level aggregation in the script&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I also had a few other dimension to consider, such as Business Unit, Customer, Type, Function - So the group by was actually on these dimensions as well as month&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But not knowing the details of your data model &amp;amp; needs I cannot make any definitive suggestions for your specific scenario.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 12:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205954#M880841</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-07T12:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Computing Expressions on Script Level</title>
      <link>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205955#M880842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That means that you can never sum Amounts or Costs per region for example? That's a very weird data model. Why do you repeat all those amounts? The Distinct keyword by itself will slow down your document for no reason at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 16:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205955#M880842</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-10-07T16:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Computing Expressions on Script Level</title>
      <link>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205956#M880843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it is DISTINCT only..QV takes it automatically when typed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2016 11:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205956#M880843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-08T11:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Computing Expressions on Script Level</title>
      <link>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205957#M880844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2016 11:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Computing-Expressions-on-Script-Level/m-p/1205957#M880844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-08T11:09:10Z</dc:date>
    </item>
  </channel>
</rss>

