<?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: Performance help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004990#M961810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression I used in most of the charts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Reportflag]='y', -if(Acctype=TypeName,value,-value),if(Acctype=TypeName,value,-value)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me to handle this in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since Acctype and typename are in two different tables, I don't know how to compare and derive the expression in script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Oct 2015 07:23:32 GMT</pubDate>
    <dc:creator>gauthamchilled</dc:creator>
    <dc:date>2015-10-19T07:23:32Z</dc:date>
    <item>
      <title>Performance help</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004987#M961807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the below expression in variable and using in many charts, can anyone help in simplifying. records are about 5 millions. Help me in tuning performance please .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 06:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004987#M961807</guid>
      <dc:creator>gauthamchilled</dc:creator>
      <dc:date>2015-10-19T06:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Performance help</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004988#M961808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't get your exact requirement , but try like this :&lt;/P&gt;&lt;P&gt;=if([Reportflag]='y' and Acctype=TypeName,-value,value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 07:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004988#M961808</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-10-19T07:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Performance help</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004989#M961809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even i dont understand your requirement. And more over is your data model in your original app was built like the one in attached? meaning "Value" being key?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing i would suggest is to take that IF logic back to the script if at all possible. If that is not the case i would create some FLAG's in script and use SET ANALYSIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be nice if you can share more info&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 07:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004989#M961809</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2015-10-19T07:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Performance help</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004990#M961810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression I used in most of the charts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Reportflag]='y', -if(Acctype=TypeName,value,-value),if(Acctype=TypeName,value,-value)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me to handle this in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since Acctype and typename are in two different tables, I don't know how to compare and derive the expression in script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 07:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004990#M961810</guid>
      <dc:creator>gauthamchilled</dc:creator>
      <dc:date>2015-10-19T07:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Performance help</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004991#M961811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want to achieve this in the script level you need to do a &lt;STRONG&gt;JOIN &lt;/STRONG&gt;, join on 1 million row would not idle because it may recreate lot of data and the size of the file may get increase . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 07:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004991#M961811</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-10-19T07:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Performance help</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004992#M961812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use APPLY MAP to create a new field called "new_value" in the script and just use "Sum(new_value)" in front end chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TypeMap:&lt;/P&gt;&lt;P&gt;Mapping Load *, 1 as Flag;&lt;/P&gt;&lt;P&gt;Load *Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;TypeName&lt;/P&gt;&lt;P&gt;Type3&lt;/P&gt;&lt;P&gt;Type7&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;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LargeTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load *, &lt;STRONG&gt;if(Reportflag='y', if(ApplyMap('TypeMap',Acctype,0) = 1, -1*value, value),if(ApplyMap('TypeMap',Acctype,0) = 1, value, -1*value)) as new_value&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Company,Acctype,value,Reportflag&lt;/P&gt;&lt;P&gt;AAA,Type1,100,y&lt;/P&gt;&lt;P&gt;BBB,Type2,140,y&lt;/P&gt;&lt;P&gt;CCC,Type3,270,n&lt;/P&gt;&lt;P&gt;ddd,Type7,156,y&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 07:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004992#M961812</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2015-10-19T07:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Performance help</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004993#M961813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/40441"&gt;phaneendra.kunche&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we have one to many relationship between the tables than Apply mapping will fail &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 07:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004993#M961813</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-10-19T07:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Performance help</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004994#M961814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even in that case the expression he wrote in the UI will fail as well un less if he includes the combination of dimensions in the chart to get to a single Acoount Type &amp;amp; Type Name for the combination to validate TRUE/FALSE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above is one concept where he can minimize the burden on UI to calculate the expression using applymap. There might be more to create flags if there is 1-Many relations in the data. Given the example scenario and lack of requirement at this moment this is the only option i can think of. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to hear your opinion on how to boost the performance on 5Mil dataset. Share if you know any other solution. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 07:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004994#M961814</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2015-10-19T07:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Performance help</title>
      <link>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004995#M961815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with your point, without knowing the exact requirement it would be not idle to speak or suggest the solution &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; let's wait for some more info &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 08:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Performance-help/m-p/1004995#M961815</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-10-19T08:02:32Z</dc:date>
    </item>
  </channel>
</rss>

