<?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 Performance slow Qlikview for 30M+ Data only GeoMap Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Performance-slow-Qlikview-for-30M-Data-only-GeoMap-Chart/m-p/1933046#M1219041</link>
    <description>&lt;P&gt;Hi Community,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am facing the same issue of performance with huge data. I have more than 30M records with weather data. I loaded directly from source.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It takes around 4-5 seconds before applying 1 filter. I am using a Geoanalytics map to show various events like Temperature, Humidity, Pressure etc. The Average, Minimum and Maximum with filters. O&lt;/P&gt;
&lt;P&gt;I have used Nested If statement in the Colour expression and Label. I feel IF statement is making the process slow. I am pasting the equation I have used for the map.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sarco&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2022 12:32:22 GMT</pubDate>
    <dc:creator>joybratas1</dc:creator>
    <dc:date>2022-05-19T12:32:22Z</dc:date>
    <item>
      <title>Performance slow Qlikview for 30M+ Data only GeoMap Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-slow-Qlikview-for-30M-Data-only-GeoMap-Chart/m-p/1933046#M1219041</link>
      <description>&lt;P&gt;Hi Community,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am facing the same issue of performance with huge data. I have more than 30M records with weather data. I loaded directly from source.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It takes around 4-5 seconds before applying 1 filter. I am using a Geoanalytics map to show various events like Temperature, Humidity, Pressure etc. The Average, Minimum and Maximum with filters. O&lt;/P&gt;
&lt;P&gt;I have used Nested If statement in the Colour expression and Label. I feel IF statement is making the process slow. I am pasting the equation I have used for the map.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sarco&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 12:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-slow-Qlikview-for-30M-Data-only-GeoMap-Chart/m-p/1933046#M1219041</guid>
      <dc:creator>joybratas1</dc:creator>
      <dc:date>2022-05-19T12:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Performance slow Qlikview for 30M+ Data only GeoMap Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-slow-Qlikview-for-30M-Data-only-GeoMap-Chart/m-p/1933099#M1219043</link>
      <description>&lt;P&gt;From a performance point of view are nested if-loops not a good choice and should be therefore avoided if any possible. In your case it looked as if the various calculations couldn't be simply reduced to a lower number but they might be outsourced within a variable. Means within the variable are the other variables evaluated and then the variable-result is the string of the appropriate expression. Maybe something in this way (simplified):&lt;/P&gt;
&lt;P&gt;varEx: = if(var = 'x', 'max(value)', if(var = 'y', 'avg(value)', ...))&lt;/P&gt;
&lt;P&gt;and within the chart it's called with:&lt;/P&gt;
&lt;P&gt;$(varEx)&lt;/P&gt;
&lt;P&gt;Beside this your aggregations itself contain an if-loop on the inside which is much slower as one on the outside and even this is much slower as a set analysis. Means something like:&lt;/P&gt;
&lt;PRE class="bp-text bp-text-plain hljs bp-is-scrollable" tabindex="0"&gt;&lt;CODE class="bp-text-code txt"&gt;max( if(date_x&amp;gt;=date($(vStartDate)) and date_x&amp;lt;=date($(vEndDate)), value ))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;should be changed to:&lt;/P&gt;
&lt;PRE class="bp-text bp-text-plain hljs bp-is-scrollable" tabindex="0"&gt;&lt;CODE class="bp-text-code txt"&gt;max({&amp;lt; date_x = {"&amp;gt;=$(vStartDate)&amp;lt;=$(vEndDate)"}&amp;gt;} value)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 13:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-slow-Qlikview-for-30M-Data-only-GeoMap-Chart/m-p/1933099#M1219043</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-05-19T13:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Performance slow Qlikview for 30M+ Data only GeoMap Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-slow-Qlikview-for-30M-Data-only-GeoMap-Chart/m-p/1933251#M1219049</link>
      <description>&lt;P&gt;I tried the set analysis expressions. Yet no improvement of performance. The nested if statements outside will still create the issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me explain the data I hate&lt;/P&gt;
&lt;P&gt;Staistics Field - Temperature, Humidity, Pressure, wind&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Name Field- Min, Max, Avg&lt;/P&gt;
&lt;P&gt;Value field- numeric values&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I am filtering based on Countries&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or based on Statistics Field&lt;/P&gt;
&lt;P&gt;Or Name field.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in any way I have to use a if condition to differentiate. Is there a way I can avoid the if here&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Joy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 18:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-slow-Qlikview-for-30M-Data-only-GeoMap-Chart/m-p/1933251#M1219049</guid>
      <dc:creator>joybratas1</dc:creator>
      <dc:date>2022-05-19T18:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Performance slow Qlikview for 30M+ Data only GeoMap Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-slow-Qlikview-for-30M-Data-only-GeoMap-Chart/m-p/1933388#M1219057</link>
      <description>&lt;P&gt;At first make sure that the outsourcing of the nested if-loop is working, means that only one final expression-string is the output - and then applied to all relevant object-parts, means the main-expression and any title, label, coloring and so on expressions (you will probably need several variables for it).&lt;/P&gt;
&lt;P&gt;To check the impact you may apply the old approach and the new logic within two table-charts. The differences between both objects may not huge but by 30 M of records I would expect to see them. If the optimized table-chart reacts too slow as be acceptable you need to go further and optimizing the data-model and/or even re-design the entire model.&lt;/P&gt;
&lt;P&gt;If the above is working sufficient you may apply it again on your geo-chart. Geo-charts are differently to the normal charts and may need - independently from the amount of data and the complexity of the expressions - some time because their rendering could be very heavy - if all geo-layers will be calculated each time and they might be also quite granular and there might be also multiple wait/sleep-statements included.&lt;/P&gt;
&lt;P&gt;Again you may do some checks with a dummy-app which contained beside your geo-data just a few hundreds/thousands of records and very simple expressions like sum(value). React it in real-time - just within a few milliseconds without noticing any delaying or does the whole (javascript) rendering of the geo-object needs some time?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 06:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-slow-Qlikview-for-30M-Data-only-GeoMap-Chart/m-p/1933388#M1219057</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-05-20T06:04:19Z</dc:date>
    </item>
  </channel>
</rss>

