<?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: Alternate for expression to tune performance in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-for-expression-to-tune-performance/m-p/941713#M965757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain with a simple example please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Oct 2015 10:12:13 GMT</pubDate>
    <dc:creator>gauthamchilled</dc:creator>
    <dc:date>2015-10-12T10:12:13Z</dc:date>
    <item>
      <title>Alternate for expression to tune performance</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-for-expression-to-tune-performance/m-p/941710#M965754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if([Report Flag]='y',&lt;BR /&gt;-if([RA Type]=AccType,[BalanceYTD],-[BalanceYTD]),&lt;BR /&gt;if([RA Type]=AccType,[BalanceYTD],-[BalanceYTD]))&lt;/P&gt;&lt;P&gt;Report Flag and RA Type are from table 1 and BalanceYTD and RA Type are from other table. Both tables are linked by an other table.&lt;BR /&gt;I am using the above expression in a variable and used in most of the charts in my dashboard along with set analaysis.&lt;/P&gt;&lt;P&gt;Is there a way to handle this to optimize the performance of this expression.&lt;/P&gt;&lt;P&gt;Can i handle in scrip, if so may i know how to do?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Gautham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 02:32:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-for-expression-to-tune-performance/m-p/941710#M965754</guid>
      <dc:creator>gauthamchilled</dc:creator>
      <dc:date>2015-10-09T02:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate for expression to tune performance</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-for-expression-to-tune-performance/m-p/941711#M965755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand it right you queries the flag and type to set the BalanceYTD positive or negative. This could be done within the script by creatin (an additionally) flag-field to your BalanceYTD which contains 1 or -1 (matching between both tables per mapping and applymap: &lt;A href="https://community.qlik.com/qlik-blogpost/4125"&gt;Mapping as an Alternative to Joining&lt;/A&gt;) and then within your calculations xou could use something like: sum(BalanceYTD * FlagBalanceYTD) which would be a lot more performant as the if-loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 06:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-for-expression-to-tune-performance/m-p/941711#M965755</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-09T06:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate for expression to tune performance</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-for-expression-to-tune-performance/m-p/941712#M965756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Marcus suggested,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use ApplyMap (Mapping) instead of Join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please share sample qvw, it will help us to provide quick solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 06:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-for-expression-to-tune-performance/m-p/941712#M965756</guid>
      <dc:creator>SreeniJD</dc:creator>
      <dc:date>2015-10-09T06:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate for expression to tune performance</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-for-expression-to-tune-performance/m-p/941713#M965757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain with a simple example please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 10:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-for-expression-to-tune-performance/m-p/941713#M965757</guid>
      <dc:creator>gauthamchilled</dc:creator>
      <dc:date>2015-10-12T10:12:13Z</dc:date>
    </item>
  </channel>
</rss>

