<?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 Using the cyclic dimension in an aggr statement (GetCurrentField) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-the-cyclic-dimension-in-an-aggr-statement-GetCurrentField/m-p/439166#M163651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart that has a cyclic dimension. The measure (Y axis) has an aggrregate statement as follows :&lt;/P&gt;&lt;P&gt;aggr(sum(Data) ,Type, GetCurrentField([FisMo / Qtr]) ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;([FisMo / Qtr]&amp;nbsp;&amp;nbsp; this is the cyclic dimension - it selects either fiscal month or fiscal quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I switch between fiscal month and fiscal quarter on the dimension using the cyce button, I need to change the aggr statement to reflect that. Thus I use "GetCurrentField([FisMo / Qtr])" ( in place of&amp;nbsp; Fiscal Month and Fiscal Qtr.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although GetCurrentField([FisMo / Qtr]) works everywhere in Qlikview ( in a text box for example )&amp;nbsp; to show the current dimension cycle, it will NOT work when placed in the aggr statement. The chart stops calculating as soon as I insert "GetCurrentField([FisMo / Qtr])" in place of the fiscal month or fiscal quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a workaround for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 May 2013 12:55:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-08T12:55:12Z</dc:date>
    <item>
      <title>Using the cyclic dimension in an aggr statement (GetCurrentField)</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-cyclic-dimension-in-an-aggr-statement-GetCurrentField/m-p/439166#M163651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart that has a cyclic dimension. The measure (Y axis) has an aggrregate statement as follows :&lt;/P&gt;&lt;P&gt;aggr(sum(Data) ,Type, GetCurrentField([FisMo / Qtr]) ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;([FisMo / Qtr]&amp;nbsp;&amp;nbsp; this is the cyclic dimension - it selects either fiscal month or fiscal quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I switch between fiscal month and fiscal quarter on the dimension using the cyce button, I need to change the aggr statement to reflect that. Thus I use "GetCurrentField([FisMo / Qtr])" ( in place of&amp;nbsp; Fiscal Month and Fiscal Qtr.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although GetCurrentField([FisMo / Qtr]) works everywhere in Qlikview ( in a text box for example )&amp;nbsp; to show the current dimension cycle, it will NOT work when placed in the aggr statement. The chart stops calculating as soon as I insert "GetCurrentField([FisMo / Qtr])" in place of the fiscal month or fiscal quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a workaround for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 12:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-cyclic-dimension-in-an-aggr-statement-GetCurrentField/m-p/439166#M163651</guid>
      <dc:creator />
      <dc:date>2013-05-08T12:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using the cyclic dimension in an aggr statement (GetCurrentField)</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-cyclic-dimension-in-an-aggr-statement-GetCurrentField/m-p/439167#M163652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;aggr(sum(Data) ,Type, &lt;STRONG&gt;$(=GetCurrentField([FisMo / Qtr]))&lt;/STRONG&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 13:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-cyclic-dimension-in-an-aggr-statement-GetCurrentField/m-p/439167#M163652</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-08T13:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using the cyclic dimension in an aggr statement (GetCurrentField)</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-cyclic-dimension-in-an-aggr-statement-GetCurrentField/m-p/439168#M163653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert&amp;nbsp; - You are the master - it works - a big thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The folks on this community are great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My only regret is not asking sooner - I spent over an hour on this last night.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 13:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-cyclic-dimension-in-an-aggr-statement-GetCurrentField/m-p/439168#M163653</guid>
      <dc:creator />
      <dc:date>2013-05-08T13:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using the cyclic dimension in an aggr statement (GetCurrentField)</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-cyclic-dimension-in-an-aggr-statement-GetCurrentField/m-p/439169#M163654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You haven't to use this function. Try only with name of group - &lt;SPAN style="color: #737373; font-family: Arial;"&gt;aggr(sum(Data) ,Type, &lt;/SPAN&gt;&lt;STRONG style="font-family: Arial; color: #737373;"&gt;[FisMo / Qtr]) &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 18:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-cyclic-dimension-in-an-aggr-statement-GetCurrentField/m-p/439169#M163654</guid>
      <dc:creator>prodanov</dc:creator>
      <dc:date>2014-04-07T18:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using the cyclic dimension in an aggr statement (GetCurrentField)</title>
      <link>https://community.qlik.com/t5/QlikView/Using-the-cyclic-dimension-in-an-aggr-statement-GetCurrentField/m-p/1565224#M441635</link>
      <description>&lt;P&gt;This is so strange...I tried this with a cycle&amp;nbsp; of Year, Month, Day, W/E and DOW...it looked amazing and I had thought it was working but as I cycled through, the first three worked like a charm and the W/E and DOW were blank.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 14:05:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-the-cyclic-dimension-in-an-aggr-statement-GetCurrentField/m-p/1565224#M441635</guid>
      <dc:creator>raynac</dc:creator>
      <dc:date>2019-04-04T14:05:30Z</dc:date>
    </item>
  </channel>
</rss>

