<?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: Object calulation way too long!!! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536407#M200503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In all of the expressions on the chart use set analysis.&amp;nbsp; Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;GLDetail.Annee_fiscale={'AnnCourBilan'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would replace the Sum with whatever function you are trying to do and replace sales with whatever field you are calculating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jul 2013 18:05:32 GMT</pubDate>
    <dc:creator>jpapador</dc:creator>
    <dc:date>2013-07-29T18:05:32Z</dc:date>
    <item>
      <title>Object calulation way too long!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536406#M200502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;so I was told it'd be quicker to load all the data from our warehouse, instead of selecting and posing the condition&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; Where&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GLDetail.Annee_fiscale&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;=2009&lt;/SPAN&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus only loading 5 years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load time is quicker without that condition, but &lt;STRONG&gt;object calculations are a pain&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, how do I use the calculation condition in my objects (pivots) to limit the calculations done to only&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;GLDetail.Annee_fiscale &lt;SPAN style="font-size: 8pt;"&gt;= &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;AnnCourBilan &lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AnnCourBilan being a variable set as the year I'm looking at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;﻿&lt;SPAN style="color: #808080;"&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;﻿Simon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;I've tried alot of combinations and still can't get to my goal &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 18:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536406#M200502</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2013-07-29T18:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Object calulation way too long!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536407#M200503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In all of the expressions on the chart use set analysis.&amp;nbsp; Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;GLDetail.Annee_fiscale={'AnnCourBilan'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would replace the Sum with whatever function you are trying to do and replace sales with whatever field you are calculating.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 18:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536407#M200503</guid>
      <dc:creator>jpapador</dc:creator>
      <dc:date>2013-07-29T18:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Object calulation way too long!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536408#M200504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so you are loading all of the data instead of loading only the 5 years you need?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if htis is the case i think what you shoudl do is do the pull form the warehouse and then reload your resicdent table with the where condition.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You were told to pull all the data as the where condition slows down the SQL pull, and it can be done in qlik with a qvd or on a resident table alot faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you should limit the data you have in your app.&amp;nbsp; if you have twice the amount of data that you need, it will always be slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While the set analysis statement will speed things up, the abundance of data is a data modeling issue that should be corrected for the benifit of the applicaiton and the operating environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i misunderstood your post, i appologize.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 18:13:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536408#M200504</guid>
      <dc:creator>ryanhicks</dc:creator>
      <dc:date>2013-07-29T18:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Object calulation way too long!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536409#M200505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already have limitations over my expressions like you described above. But I'm still calculating over 15 years of data, and the progress bar is still going like a turtle.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 18:31:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536409#M200505</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2013-07-29T18:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Object calulation way too long!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536410#M200506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is exactly what we are doing, building a qvd with 15 years, and loading the qvd into a qvw. I was trying to save the 15 seconds it took to do the load with the "with" clause by loading all data into the qvw, but it realy seems like it's a bad idea, I get monstruous calculations (I'm playing with 9 M rows instead of 3 M, which is already long)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me about the set analysis though, I have twiddled with that yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 18:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536410#M200506</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2013-07-29T18:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Object calulation way too long!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536411#M200507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis is what JPapador was suggesting above. it is usefull when you want to look at a subset of data or comparison calulations/ratios.&amp;nbsp; there is quite a bit of documetation out there for it.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is a set analysis white paper that I use very often.&amp;nbsp; it does a good gob of explaining set analysis and gives some good examples.&amp;nbsp; &lt;A _jive_internal="true" href="http://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=qlikview set analysis tom mackay&amp;amp;source=web&amp;amp;cd=1&amp;amp;ved=0CCoQFjAA&amp;amp;url=http://community.qlik.com/servlet/JiveServlet/previewBody/1867-102-1-1858/QlikLearn-Set-Analysis-Presentation.pdf&amp;amp;ei=7cL2Uei5NILs8gT424G4Cg&amp;amp;usg=AFQjCNFzmcFiFOtzkNgUP25yrI16xAiHxw"&gt;White Paper&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 19:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536411#M200507</guid>
      <dc:creator>ryanhicks</dc:creator>
      <dc:date>2013-07-29T19:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Object calulation way too long!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536412#M200508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, that's actually a very helpfull tool to use.&lt;/P&gt;&lt;P&gt;But it still takes a very long time to calculate, so I'm guessing it sifts through the 15 years to determine which ones are that have gldetail.fiscalyr = to my variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It takes the same amount of time as&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GLDetail.Annee_fiscale&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;AnnCour &lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;KEY_Type_Transaction_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;'EB',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GLDetail.Montant&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;And I'm actually not getting a result from using :&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;GLDetail.Annee_fiscale={'AnnCourBilan'}&amp;gt;}GLdetail.Montant)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I got it wrong (besides not restraining the transaction type) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 12:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Object-calulation-way-too-long/m-p/536412#M200508</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2013-07-30T12:45:50Z</dc:date>
    </item>
  </channel>
</rss>

