<?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: Prevent auto calculation of objects? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950027#M526416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like attached?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at the button actions, the variable event trigger and the three variables to see how it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if it works as well with an Ajax client&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;Obviously, you don't need one of the variables plus the event trigger, if you perform the check in the calculation condition&lt;/P&gt;&lt;P&gt;Updated the sample QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2015 22:48:23 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-12-03T22:48:23Z</dc:date>
    <item>
      <title>Prevent auto calculation of objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950024#M526413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a document where several of the objects are calculation on several hundred million records, and this is taking some time to calculate the charts each time a filter selection is made.&amp;nbsp; This really becomes a problem when the user wants to make several selections because the charts automatically calculate with each selection.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Is there a way I can prevent the charts from calculating until the user has made all the selections they want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My idea to do this is to set a calculation condition: vCalculate = 1, then set the variable vCalculate to '1' by user clicking a button.&amp;nbsp; But how do i get that vCalculate to automatically reset to 0 when the user starts to make new selections?&amp;nbsp; I have seen examples where there is a second button for the user to reset the variable but that would be frustrating to the user to have to remember to do this manually each time he wants to make new selections.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 20:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950024#M526413</guid>
      <dc:creator />
      <dc:date>2015-12-03T20:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent auto calculation of objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950025#M526414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashley,&lt;/P&gt;&lt;P&gt;You could try placing copies of all the listboxes you need onto a dedicated filter sheet with no charts. Activate this sheet with a button on your analysis sheet and when filter sheet is activated your charts will not recalculate until the analysis sheet becomes active again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 22:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950025#M526414</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-12-03T22:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent auto calculation of objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950026#M526415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting idea... I'll give that a shot.&amp;nbsp; My only concern there goes back to usability for the client - I think they will want to be able to see the current calculations while they're making new selections.&amp;nbsp; But then again maybe I'm trying to solve for something the user won't even care about.&amp;nbsp; I'll report back on how it goes.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 22:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950026#M526415</guid>
      <dc:creator />
      <dc:date>2015-12-03T22:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent auto calculation of objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950027#M526416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like attached?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at the button actions, the variable event trigger and the three variables to see how it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if it works as well with an Ajax client&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;Obviously, you don't need one of the variables plus the event trigger, if you perform the check in the calculation condition&lt;/P&gt;&lt;P&gt;Updated the sample QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 22:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950027#M526416</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-03T22:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent auto calculation of objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950028#M526417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could add a calculation condition on the chart which is tied to a variable.&amp;nbsp; vCalculate=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then add a button with conditional text:&amp;nbsp; if( vCalculate=1, 'Disable Calculation', 'Enable Calculation')&lt;/P&gt;&lt;P&gt;And an action / external / set variable on vCalculate where the value to set is also conditional:&amp;nbsp;&amp;nbsp; if( vCalculate=1,0,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;optionally add a text box to say something like 'Enable calculation to view chart' that also conditionally renders based on the same variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 01:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950028#M526417</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-12-04T01:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent auto calculation of objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950029#M526418</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;One more way to handle this is you can also minimize a chart, it won't perform any calculations.&amp;nbsp; When you want to see that chart just double click on the chart to maximize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 02:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950029#M526418</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-12-04T02:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent auto calculation of objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950030#M526419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I always first encourage people to tune the document so auto-calculation becomes a non issue. All that said, attached is an example that collects "proposed" selections in an alternate state until the user presses "Apply".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Example deleted in favor of the cookbook example in the subsequent reply)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com/" rel="nofollow" style="font-size: 10pt;"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 05:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950030#M526419</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-12-04T05:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent auto calculation of objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950031#M526420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've published a more thorough example of this "deferred selection" idea as a Cookbook Recipe. Also includes a filter pane option as &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/Effinty2112"&gt;Effinty2112&lt;/A&gt;&lt;/STRONG&gt; suggested. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Qlikview Cookbook: Defer Selections Until Apply &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com/recipes/download-info/defer-selections-until-apply/" rel="nofollow"&gt;http://qlikviewcookbook.com/recipes/download-info/defer-selections-until-apply/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 07:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950031#M526420</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-12-04T07:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent auto calculation of objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950032#M526421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashley,&lt;/P&gt;&lt;P&gt;Yet another suggestion. I normally shy away from using macros but you could write a macro to detach the charts on your sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub Detach&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject("CH123").Detach&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ActiveDocument.GetSheetObject("CH124").&lt;SPAN style="font-size: 13.3333px;"&gt;Detach&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ActiveDocument.GetSheetObject("CH125").&lt;SPAN style="font-size: 13.3333px;"&gt;Detach&lt;/SPAN&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;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and to re-attach when you have changed your selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sub Attach&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ActiveDocument.GetSheetObject("CH123").&lt;SPAN style="font-size: 13.3333px;"&gt;Attach&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ActiveDocument.GetSheetObject("CH124").&lt;SPAN style="font-size: 13.3333px;"&gt;Attach&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ActiveDocument.GetSheetObject("CH125").&lt;SPAN style="font-size: 13.3333px;"&gt;Attach&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;End Sub&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;You could run these macros with a toggled variable and a single button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 08:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950032#M526421</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-12-04T08:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent auto calculation of objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950033#M526422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first thing I tried was using the Document Analyzer to help me tune the data model as much as possible, and I was able to reduce the amount of data in the doc by over half, but it's still 6.8 GB and has almost 700 million rows of data. The calculation speed didn't change much.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I saw a slight improvement when i created variables to replace some expressions that were used more than once, but there aren't a lot of places to do that.&lt;/P&gt;&lt;P&gt;I've also tried minimizing as many reports as I can, but it's the most used ones that are taking the longest to calculate.&amp;nbsp; They aren't even very complex expressions, I guess it's just the number of records.&lt;/P&gt;&lt;P&gt;I like your idea of using Alternate State to hold the filters, so I'll try that and see if the user is satisfied with that approach.&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 22:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/950033#M526422</guid>
      <dc:creator />
      <dc:date>2015-12-04T22:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent auto calculation of objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/1556532#M526423</link>
      <description>&lt;P&gt;Hi Jpe ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you please check this question its similar I didnt get the solution.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Trend-line-as-expression-based-on-Field-A-Field-B-issue/td-p/1556514" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Development/Trend-line-as-expression-based-on-Field-A-Field-B-issue/td-p/1556514&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 13:13:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/1556532#M526423</guid>
      <dc:creator>wiz_nerd</dc:creator>
      <dc:date>2019-03-14T13:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent auto calculation of objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/1568144#M526424</link>
      <description>Hi Swuehl,&lt;BR /&gt;I have tried out the provided sample QVW and I must say that it looks very promising for my purposes. I have one question though. When no filters are selected the chart content displays "Please make selections and press Go!". Where did you include this text in the chart object?&lt;BR /&gt;Thank you,&lt;BR /&gt;Herbert</description>
      <pubDate>Thu, 11 Apr 2019 11:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-auto-calculation-of-objects/m-p/1568144#M526424</guid>
      <dc:creator>hbeukenboom</dc:creator>
      <dc:date>2019-04-11T11:32:16Z</dc:date>
    </item>
  </channel>
</rss>

