<?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 Aggr with set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220604#M23720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;looks like the problem with set analysis and aggr is not so uncommon.&lt;/P&gt;&lt;P&gt;I allready found some very interesting blogs from henric about this topic but wasnt able to solve this.&lt;/P&gt;&lt;P&gt;First of all i am using a drill down dimension but im not able to reference to this dimension in the expression for a visualization.&lt;/P&gt;&lt;P&gt;So I build a small workaround to get me the coloumn name of the current dimension and store this in a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to my real problem.&lt;/P&gt;&lt;P&gt;I'am using this expression for my charts.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Sum&lt;/SPAN&gt;({&lt;SPAN style="color: #3366ff;"&gt;$&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: #ff9900;"&gt;[Monat]&lt;/SPAN&gt;={'$(vMtdYtdYeID)'},&lt;SPAN style="color: #ff9900;"&gt;[Anlass]&lt;/SPAN&gt;={'010-000-2016'},&lt;SPAN style="color: #ff9900;"&gt;[Reporting]&lt;/SPAN&gt;={'$(vKPI3)',&lt;SPAN style="font-size: 13.3333px;"&gt;'$(vKPI2)'&lt;/SPAN&gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;'$(vKPI1)'&lt;/SPAN&gt;}&amp;gt;}&lt;SPAN style="color: #ff9900;"&gt;Betrag&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression works and gives me the sum over all mentioned restrictions. Now I want the min and max values grouped by my&lt;/P&gt;&lt;P&gt;drill down dimension. I read somewhere that the aggr function works like a&amp;nbsp; group by in the load script.&lt;/P&gt;&lt;P&gt;First i tried following expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;max&lt;/SPAN&gt;(&lt;SPAN style="color: #3366ff;"&gt;aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #3366ff;"&gt;sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #ff9900;"&gt;[Monat]&lt;/SPAN&gt;={'$(vMtdYtdYeID)'},&lt;SPAN style="color: #ff9900;"&gt;[Anlass]&lt;/SPAN&gt;={'010-000-2016'},&lt;SPAN style="color: #ff9900;"&gt;[Reporting]&lt;/SPAN&gt;={'$(vKPI1)','$(vKPI2)','$(vKPI3)'}&amp;gt;}&lt;SPAN style="color: #ff9900;"&gt;Betrag&lt;/SPAN&gt;),&lt;SPAN style="color: #bc43ab;"&gt;$(vOrganisationHierarchie)&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #bc43ab; font-size: 13.3333px;"&gt;$(vOrganisationHierarchie) &lt;SPAN style="color: #000000;"&gt;delivers the current column name of the drill down dimension&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;But the expression wont deliver any values:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;My second try was to try the aggr function in the set analysis expression like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;sum({$&amp;lt;[Monat]={'$(vMtdYtdYeID)'},[Anlass]={'010-000-2016'},[Reporting]={'$(vKPI1)','$(vKPI2)','$(vKPI3)'}&amp;gt;}Aggr(Betrag),$(vOrganisationHierarchie))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;and the second try also didnt deliver any values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;tldr:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;I need the min and max values of an set analysis grouped by a drill down dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;Hope somebody can help me with that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;KR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;Johann&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jan 2017 19:34:35 GMT</pubDate>
    <dc:creator>johann_bauer</dc:creator>
    <dc:date>2017-01-23T19:34:35Z</dc:date>
    <item>
      <title>Aggr with set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220604#M23720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;looks like the problem with set analysis and aggr is not so uncommon.&lt;/P&gt;&lt;P&gt;I allready found some very interesting blogs from henric about this topic but wasnt able to solve this.&lt;/P&gt;&lt;P&gt;First of all i am using a drill down dimension but im not able to reference to this dimension in the expression for a visualization.&lt;/P&gt;&lt;P&gt;So I build a small workaround to get me the coloumn name of the current dimension and store this in a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to my real problem.&lt;/P&gt;&lt;P&gt;I'am using this expression for my charts.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Sum&lt;/SPAN&gt;({&lt;SPAN style="color: #3366ff;"&gt;$&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: #ff9900;"&gt;[Monat]&lt;/SPAN&gt;={'$(vMtdYtdYeID)'},&lt;SPAN style="color: #ff9900;"&gt;[Anlass]&lt;/SPAN&gt;={'010-000-2016'},&lt;SPAN style="color: #ff9900;"&gt;[Reporting]&lt;/SPAN&gt;={'$(vKPI3)',&lt;SPAN style="font-size: 13.3333px;"&gt;'$(vKPI2)'&lt;/SPAN&gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;'$(vKPI1)'&lt;/SPAN&gt;}&amp;gt;}&lt;SPAN style="color: #ff9900;"&gt;Betrag&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression works and gives me the sum over all mentioned restrictions. Now I want the min and max values grouped by my&lt;/P&gt;&lt;P&gt;drill down dimension. I read somewhere that the aggr function works like a&amp;nbsp; group by in the load script.&lt;/P&gt;&lt;P&gt;First i tried following expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;max&lt;/SPAN&gt;(&lt;SPAN style="color: #3366ff;"&gt;aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #3366ff;"&gt;sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #ff9900;"&gt;[Monat]&lt;/SPAN&gt;={'$(vMtdYtdYeID)'},&lt;SPAN style="color: #ff9900;"&gt;[Anlass]&lt;/SPAN&gt;={'010-000-2016'},&lt;SPAN style="color: #ff9900;"&gt;[Reporting]&lt;/SPAN&gt;={'$(vKPI1)','$(vKPI2)','$(vKPI3)'}&amp;gt;}&lt;SPAN style="color: #ff9900;"&gt;Betrag&lt;/SPAN&gt;),&lt;SPAN style="color: #bc43ab;"&gt;$(vOrganisationHierarchie)&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #bc43ab; font-size: 13.3333px;"&gt;$(vOrganisationHierarchie) &lt;SPAN style="color: #000000;"&gt;delivers the current column name of the drill down dimension&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;But the expression wont deliver any values:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;My second try was to try the aggr function in the set analysis expression like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;sum({$&amp;lt;[Monat]={'$(vMtdYtdYeID)'},[Anlass]={'010-000-2016'},[Reporting]={'$(vKPI1)','$(vKPI2)','$(vKPI3)'}&amp;gt;}Aggr(Betrag),$(vOrganisationHierarchie))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;and the second try also didnt deliver any values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;tldr:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;I need the min and max values of an set analysis grouped by a drill down dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;Hope somebody can help me with that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;KR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;Johann&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 19:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220604#M23720</guid>
      <dc:creator>johann_bauer</dc:creator>
      <dc:date>2017-01-23T19:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220605#M23721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max&lt;SPAN style="color: #ff0000;"&gt;({$&amp;lt;[Monat]={'$(vMtdYtdYeID)'},[Anlass]={'010-000-2016'},[Reporting]={'$(vKPI1)','$(vKPI2)','$(vKPI3)'}&amp;gt;}&lt;/SPAN&gt;aggr(sum({$&amp;lt;[Monat]={'$(vMtdYtdYeID)'},[Anlass]={'010-000-2016'},[Reporting]={'$(vKPI1)','$(vKPI2)','$(vKPI3)'}&amp;gt;}Betrag),$(vOrganisationHierarchie)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Max&lt;SPAN style="color: #ff0000;"&gt;({$&amp;lt;[Monat]={'$(vMtdYtdYeID)'},[Anlass]={'010-000-2016'},[Reporting]={'$(vKPI1)','$(vKPI2)','$(vKPI3)'}&amp;gt;}&lt;/SPAN&gt;aggr(sum({$&amp;lt;[Monat]={'$(vMtdYtdYeID)'},[Anlass]={'010-000-2016'},[Reporting]={'$(vKPI1)','$(vKPI2)','$(vKPI3)'}&amp;gt;}Betrag),$(&lt;SPAN style="color: #ff9900; font-size: 14pt;"&gt;=&lt;/SPAN&gt;vOrganisationHierarchie)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 19:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220605#M23721</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T19:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220606#M23722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johann&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;max&lt;/SPAN&gt;(&lt;SPAN style="color: #3366ff;"&gt;aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #3366ff;"&gt;sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #ff9900;"&gt;[Monat]&lt;/SPAN&gt;={'$(vMtdYtdYeID)'},&lt;SPAN style="color: #ff9900;"&gt;[Anlass]&lt;/SPAN&gt;={'010-000-2016'},&lt;SPAN style="color: #ff9900;"&gt;[Reporting]&lt;/SPAN&gt;={'$(vKPI1)','$(vKPI2)','$(vKPI3)'}&amp;gt;}&lt;SPAN style="color: #ff9900;"&gt;Betrag&lt;/SPAN&gt;),$(=$(=&lt;STRONG&gt;vOrganisationHierarchie&lt;/STRONG&gt; )) ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Provided your variable &lt;STRONG&gt;vOrganisationHierarchie&lt;/STRONG&gt; is defined as,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;LET&amp;nbsp; vOrganisationHierarchie&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;='GetCurrentField(CyclicGroupDimension)';&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 21:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220606#M23722</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-23T21:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220607#M23723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Girirajsinh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use your expression but it didnt worked. I also tried to use just one dimension from the drill down dimension zto ensure that the synatx is not the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way there is no GetCurrentField Function in qlik sense, but the variable delivers the same result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 07:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220607#M23723</guid>
      <dc:creator>johann_bauer</dc:creator>
      <dc:date>2017-01-24T07:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220608#M23724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;your expressions also didnt worked for me. I know its kinda hard to write an expression without the qvf.&lt;/P&gt;&lt;P&gt;But i cant provide the qvf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR Johann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 07:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220608#M23724</guid>
      <dc:creator>johann_bauer</dc:creator>
      <dc:date>2017-01-24T07:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220609#M23725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try selecting one of these in issue into your current selections. I am having same issue. I need help with this issue too.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/247279"&gt;Inconsistency with data selection&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 08:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220609#M23725</guid>
      <dc:creator>qvqfqlik</dc:creator>
      <dc:date>2017-01-24T08:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220610#M23726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK there is no getcurrentfield() available in sense but there are workarounds for it: &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/636642"&gt;QLIK SENSE: $(=GetCurrentField(Time))&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further I could imagine that this will be helpful to find a solution:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/" title="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/"&gt;Q-Tip # 14 – AGGR() and Synthetic Dimensions | Natural Synergies&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 08:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220610#M23726</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-24T08:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220611#M23727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johann&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then probably as others have suggested workaround for GetCurrentFiled()&lt;/P&gt;&lt;P&gt;You may try following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same expression as I suggested above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and variable&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;vOrganisationHierarchie would be assuming you have CycliDimension like below Time Heirarchy&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vOrganisationHierarchie&lt;/STRONG&gt;= 'if(getselectedcount(Year)=0,'Year',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(getselectedcount(Year)=1 and getselectedcount(Quarter)=0,'Quarter',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(getselectedcount(Quarter)=1 and getselectedcount(MonthName)=0,'MonthYear',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(getselectedcount(MonthName)=1 and getselectedcount(Date)=0,'Day',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(getselectedcount(Date)=1, 'Day')))))'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 09:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220611#M23727</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-24T09:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220612#M23728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Girirajsinh,&lt;/P&gt;&lt;P&gt;im currently using your workaround for the GetCurrentField in Sense.&lt;/P&gt;&lt;P&gt;Im will try the solutions posted above and give feedback&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 11:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-set-Analysis/m-p/1220612#M23728</guid>
      <dc:creator>johann_bauer</dc:creator>
      <dc:date>2017-01-24T11:15:11Z</dc:date>
    </item>
  </channel>
</rss>

