<?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: Help with calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-calculated-dimension/m-p/1421483#M803131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or store your variable with an equal sign (without TOTAL)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Nov 2017 15:30:47 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-11-06T15:30:47Z</dc:date>
    <item>
      <title>Help with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-calculated-dimension/m-p/1421480#M803128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;So i have this dimension:&lt;/P&gt;&lt;P&gt;=if(($(maxIndexFY_Q)-4)&amp;lt;=[Index_FY-Q],[Index_FY-Q])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Index_FY-Q&lt;/STRONG&gt;: field, it is a number for each quatrimester in ascending order from the 1st Q of the 1st Fiscal year. it has only this values : [1 2 3 4 5]&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt; maxIndexFY_Q&lt;/STRONG&gt; = maxstring({&amp;lt;[Index_FY-Q]=&amp;gt;} [Index_FY-Q])&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //get the highest value of Index_FY-Q, in my case it returns 5 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Somehow i can't get this dimension to work. Why? I ave done more calculated dimensions and didn't have a problem. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The objective is to represent the 5 last quatrimesters (including the current one). (can't use new script dimension)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks for help ^^&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-calculated-dimension/m-p/1421480#M803128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-calculated-dimension/m-p/1421481#M803129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(MaxString(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; {&amp;lt;[Index_FY-Q]=&amp;gt;} [Index_FY-Q]) &amp;lt;= [Index_FY-Q], [Index_FY-Q])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 15:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-calculated-dimension/m-p/1421481#M803129</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-06T15:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-calculated-dimension/m-p/1421482#M803130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are calculating left hand side, You may need &lt;STRONG&gt;TOTAL&lt;/STRONG&gt; keyword&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 15:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-calculated-dimension/m-p/1421482#M803130</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-06T15:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-calculated-dimension/m-p/1421483#M803131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or store your variable with an equal sign (without TOTAL)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 15:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-calculated-dimension/m-p/1421483#M803131</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-06T15:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-calculated-dimension/m-p/1421484#M803132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked perfectly, i only changed it like this: &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;maxIndexFY_Q&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt; = maxstring({&amp;lt;[Index_FY-Q]=&amp;gt;} [Index_FY-Q]) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&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; font-size: 13.3333px;"&gt;I also realized that i can use as dimension Index_FY-Q and at dimension limits restric to 5 largest! I didnt realize until now, but anyway thanks for the help! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 15:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-calculated-dimension/m-p/1421484#M803132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-06T15:42:17Z</dc:date>
    </item>
  </channel>
</rss>

