<?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: IF Statement Performance at dashboard level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-Statement-Performance-at-dashboard-level/m-p/812116#M1259835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it do helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your example in illustrating this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rdgs,&lt;/P&gt;&lt;P&gt;Chun Wey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Dec 2014 03:12:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-12T03:12:48Z</dc:date>
    <item>
      <title>IF Statement Performance at dashboard level</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement-Performance-at-dashboard-level/m-p/812112#M1259826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a query on if statements been used at dashboard level.&amp;nbsp; Will using of IF statement, be it at expression or customised dimension.&lt;/P&gt;&lt;P&gt;How will it affect the performance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I have 5 dimensions been customised using IF statements.&amp;nbsp; And this is repeated in all my reports where the data is not huge yet.&amp;nbsp; In the long run when the data grows, it is advisable to do this ?&amp;nbsp; Or is there any alternative beside using IF statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it matter if IF statement is been used at expression level OR dimension level regarding performance issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. IF(EvaluationType ='ABC',True,False)&lt;/P&gt;&lt;P&gt;2. IF(Data Type='DDD',1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please advise on this approach and suggest better ways to improve.&amp;nbsp; I know PICK is one of them but sometime is not viable in my expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chun Wey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement-Performance-at-dashboard-level/m-p/812112#M1259826</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement Performance at dashboard level</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement-Performance-at-dashboard-level/m-p/812113#M1259828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I always avoid Calculated Dimension where possible and do the calculation in the load script.&amp;nbsp; Calculated Dimensions are resource hungry in the GUI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions most often have to calculated on the fly, but if I can pre-calculate in the load then I do.&amp;nbsp; Also in expressions I prefer Set Analysis to IF statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 19:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement-Performance-at-dashboard-level/m-p/812113#M1259828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-11T19:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement Performance at dashboard level</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement-Performance-at-dashboard-level/m-p/812114#M1259830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At least this will make my approach in doing Qlikview more efficient and align to best practice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chun Wey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 02:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement-Performance-at-dashboard-level/m-p/812114#M1259830</guid>
      <dc:creator />
      <dc:date>2014-12-12T02:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement Performance at dashboard level</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement-Performance-at-dashboard-level/m-p/812115#M1259833</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;Always try to avoid Calculated dimension in charts, if possible try to bring a new column in the script itself like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;*,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; IF(EvaluationType ='ABC',True,False) AS EvaluationTypeNew,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;IF(Data Type='DDD',1,0) AS DataTypeNew&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROM DAtaSource;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Now you can use this fields directly as dimensions, this improves the performance and standardizes the code.&amp;nbsp; If there is a change in logic you can just change in one place i.e,. script.&amp;nbsp; Also it is for mainenance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 03:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement-Performance-at-dashboard-level/m-p/812115#M1259833</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-12-12T03:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement Performance at dashboard level</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement-Performance-at-dashboard-level/m-p/812116#M1259835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it do helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your example in illustrating this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rdgs,&lt;/P&gt;&lt;P&gt;Chun Wey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 03:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement-Performance-at-dashboard-level/m-p/812116#M1259835</guid>
      <dc:creator />
      <dc:date>2014-12-12T03:12:48Z</dc:date>
    </item>
  </channel>
</rss>

