<?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: Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/448165#M488989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The nested if that you have can be much faster executed if you use the pick() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, a calculated dimension is evaluated every time you click. You should consider defining this dimension in the script already. It is almost always a lot faster that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2012 15:15:02 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2012-12-18T15:15:02Z</dc:date>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/448164#M488988</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;I am having a few performance issues after adding in a number of new dimensions/sheets to my application.&amp;nbsp; I have 6 sheets with one Pivot table graph on each sheet.&amp;nbsp; I use three calculated dimensions to determine which side label gets displayed in each pivot ( 3x dimensions /side lables).&amp;nbsp; Below is an example of one calculated dimension that I am using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13558415904356900" jivemacro_uid="_13558415904356900"&gt;&lt;P&gt; = IF(Segment.Dimension = 1, DATA.ORG_1_S,&lt;/P&gt;&lt;P&gt;IF(Segment.Dimension = 2, DATA.MARK_1,&lt;/P&gt;&lt;P&gt;IF(Segment.Dimension = 3, DATA.GEN_S, &lt;/P&gt;&lt;P&gt;IF(Segment.Dimension = 4,DATA.FU_N,&lt;/P&gt;&lt;P&gt;IF(Segment.Dimension = 5, DATA.ASS_L,&lt;/P&gt;&lt;P&gt;IF(Segment.Dimension = 6, DATA.PORT_T, '-')))))) &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Segment.Dimension is just a simple list box - when Dimension 1 is selected the column ORG_1_S&amp;nbsp; gets displayed etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a few similiar multiple IF statements across all 6 pivots which is probably one reason for the poor performance.&amp;nbsp; However, I was thinking if I replaced the multiple IF statements with Set Analysis it may improve the performance?&amp;nbsp; I would really appreciate if someone can post the syntax to use &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 14:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/448164#M488988</guid>
      <dc:creator />
      <dc:date>2012-12-18T14:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/448165#M488989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The nested if that you have can be much faster executed if you use the pick() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, a calculated dimension is evaluated every time you click. You should consider defining this dimension in the script already. It is almost always a lot faster that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 15:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/448165#M488989</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-12-18T15:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/448166#M488990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks HIC, I have used the Pick and Match Functions and it operates nicely..it probably has made it slightly quicker.&amp;nbsp; I will look into including this dimension (amongst others) in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 09:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/448166#M488990</guid>
      <dc:creator />
      <dc:date>2012-12-19T09:26:45Z</dc:date>
    </item>
  </channel>
</rss>

