<?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: Convert expressions of pivot table to improve performance in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-expressions-of-pivot-table-to-improve-performance/m-p/94973#M753045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without knowing what your dimensions and expressions are, it would be difficult to suggest any specific performance enhancements. In general, if the expressions are very complicated (using Aggr() function or complex if statements), it is better to move them to the script to gain some front end performance benefits. and same is true for calculated dimensions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2018 11:00:52 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-10-11T11:00:52Z</dc:date>
    <item>
      <title>Convert expressions of pivot table to improve performance</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-expressions-of-pivot-table-to-improve-performance/m-p/94972#M753043</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 had a customized data model built in qlikview for a customer to handle any kind of DAR (Dashboard, Analytics &amp;amp; Reporting) requirements for the business. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recently have come across a requirement to build a huge report which would show the performance of their business for last 3-4 years on a monthly basis with 100+ KPI's and variance reports. A subset of this particular requirement, there is a pivot table with 2 dimensions and 3 expressions. One of these expressions are of 500+ lines with number of if clauses and aggregate functions to produce KPI values based on dimension value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It produces the accurate result expected, but i had a concern on its performance. It currently takes ~45 seconds to refresh the pivot table for just 3 months of data behind. I am sure it is not right to make user wait for a minute to see the report when data grows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone suggest on better ways of doing this to avoid the performance issue ? Should the expression be converted into script (or) variable or any other options ?&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/Convert-expressions-of-pivot-table-to-improve-performance/m-p/94972#M753043</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert expressions of pivot table to improve performance</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-expressions-of-pivot-table-to-improve-performance/m-p/94973#M753045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without knowing what your dimensions and expressions are, it would be difficult to suggest any specific performance enhancements. In general, if the expressions are very complicated (using Aggr() function or complex if statements), it is better to move them to the script to gain some front end performance benefits. and same is true for calculated dimensions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 11:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-expressions-of-pivot-table-to-improve-performance/m-p/94973#M753045</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-11T11:00:52Z</dc:date>
    </item>
  </channel>
</rss>

