<?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: dynamic aggregation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539078#M109013</link>
    <description>&lt;P&gt;thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/318470"&gt;@BPiotrowski&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I will try it now&lt;BR /&gt;I used&amp;nbsp;&lt;SPAN&gt;$(vL.AMT(dim1;dim2))&lt;/SPAN&gt;&lt;BR /&gt;because there are other parameters that I need to pass&lt;BR /&gt;in the variable vLAMT it has $1,$2, and $3&lt;BR /&gt;dimensions are passed in the third parameter&lt;BR /&gt;if I put them comma separated the the call to the variable will like I'm passing 4 parameters&lt;BR /&gt;so I pass the third parameter as separated by ';' and inside the variable I replace the ; with , as follows:&lt;BR /&gt;aggr(...... , $(=replace('$3',';',',')))&amp;nbsp;&lt;BR /&gt;it works when I pass the names of the dimensions explicitly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Dec 2025 13:23:33 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2025-12-12T13:23:33Z</dc:date>
    <item>
      <title>dynamic aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539067#M109009</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I have a pivot table with 3 dimensions (dim2, dim2, and dim3)&lt;BR /&gt;the expression uses a parameterized variable&lt;BR /&gt;the variable is vL.AMT&lt;BR /&gt;defined as aggr(sum(amount)/avf(sum(measure1),$(=replace('$1',';',',')),period)&lt;BR /&gt;if the value is at level first dimension then I do $(vL.AMT(dim1))&lt;BR /&gt;if the value is at level second dimension then I do&amp;nbsp; $(vL.AMT(dim1;dim2))&lt;BR /&gt;...&lt;BR /&gt;it works fine when I pass the name of the dimension explicity (dim1,dim2)&lt;BR /&gt;however you know the user can change the order of the dimensions so dim1 won't be the first dimension&lt;BR /&gt;so I tried to do is use the&amp;nbsp;&lt;SPAN&gt;GetObjectDimension(0) for level1, and&amp;nbsp;GetObjectDimension(0);GetObjectDimension(1) for level2 etc...&lt;BR /&gt;&lt;BR /&gt;however, it is not working; I'm getting null&lt;BR /&gt;kindly advise on how to pass the columns to aggregate on dynamically&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 11:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539067#M109009</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2025-12-12T11:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539076#M109012</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/216"&gt;@ali_hijazi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I've tried to reproduce your situation and have made table with 3 dims&lt;BR /&gt;- Dept&lt;BR /&gt;- OfficeName&lt;BR /&gt;- ValueList&lt;/P&gt;&lt;P&gt;Measure is looking like this:&lt;BR /&gt;= if(Dimensionality() = 1,$(Dynamic(GetObjectDimension(0))),&lt;BR /&gt;if(Dimensionality() = 2, $(Dynamic(GetObjectDimension(1),GetObjectDimension(2))), $(Dynamic(GetObjectDimension(1),GetObjectDimension(2),GetObjectDimension(3)))&lt;BR /&gt;))&lt;/P&gt;&lt;P&gt;Variable body is:&lt;BR /&gt;If(Len($1) &amp;gt; 0 and Len($2) &amp;gt; 0 and Len($3) &amp;gt; 0, Count($1) + Count($2) + Count($3)&lt;BR /&gt;, If(Len($1) &amp;gt; 0 and Len($2) &amp;gt; 0 and Len($3) &amp;lt; 1, Count($1) + Count($2)&lt;BR /&gt;, If(Len($1) &amp;gt; 0 and Len($2) &amp;lt; 1 and Len($3) &amp;lt; 1, Count($1), 'NaN')))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is working so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without sharing code it will be hard to help but I think here&amp;nbsp;$(vL.AMT(dim1;dim2)) you should use , insted of ;&amp;nbsp;$(vL.AMT(dim1,dim2)) between dims.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 12:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539076#M109012</guid>
      <dc:creator>BPiotrowski</dc:creator>
      <dc:date>2025-12-12T12:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539078#M109013</link>
      <description>&lt;P&gt;thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/318470"&gt;@BPiotrowski&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I will try it now&lt;BR /&gt;I used&amp;nbsp;&lt;SPAN&gt;$(vL.AMT(dim1;dim2))&lt;/SPAN&gt;&lt;BR /&gt;because there are other parameters that I need to pass&lt;BR /&gt;in the variable vLAMT it has $1,$2, and $3&lt;BR /&gt;dimensions are passed in the third parameter&lt;BR /&gt;if I put them comma separated the the call to the variable will like I'm passing 4 parameters&lt;BR /&gt;so I pass the third parameter as separated by ';' and inside the variable I replace the ; with , as follows:&lt;BR /&gt;aggr(...... , $(=replace('$3',';',',')))&amp;nbsp;&lt;BR /&gt;it works when I pass the names of the dimensions explicitly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 13:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539078#M109013</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2025-12-12T13:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539088#M109014</link>
      <description>&lt;P&gt;Does any of your Dimentions has space ?&lt;BR /&gt;Try adding brackets before sending $3 param.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 13:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539088#M109014</guid>
      <dc:creator>BPiotrowski</dc:creator>
      <dc:date>2025-12-12T13:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539091#M109015</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/318470"&gt;@BPiotrowski&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;it didn't work&lt;BR /&gt;Look I got the definition of the variable to the expression and it is as per below:&lt;BR /&gt;let me explain how it works&lt;BR /&gt;I'm checking the dimensionality and I say if it is 1 then expression with aggregation of GetFieldObject(0); if it 2 the aggregation by&amp;nbsp;GetFieldObject(0),GetFieldObject(1)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;but the result is null, but if I put the names of the dimensions explicitly it works&lt;/P&gt;&lt;DIV&gt;if&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Dimensionality() &amp;lt;&amp;gt; 0&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;pick(Dimensionality(),fabs(&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; sum&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Scenario={[actual]}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,NMY={[$(vL.Actual.UpToDate)]}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,AGGREGATION_TYPE={ytd}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,MONTH_DIFF={$(vL.CY.MonthDiff.Actual.Numer.Range)}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,HCTYPE={[$(vL.Toggle.Rates.Movement)]}&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,$(vL.Condition.Perm)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HC)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; /&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; avg({&amp;lt;Scenario&amp;gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aggr&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sum(&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Scenario={[actual]}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,NMY={[$(vL.Actual.UpToDate)]}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,AGGREGATION_TYPE={ytd}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,MONTH_DIFF={$(vL.CY.MonthDiff.Actual.DeNumer.Range)}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,HCTYPE={[HC]}&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,$(vL.Condition.Perm)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HC)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,$(=GetObjectField(0)),[%PERIOD]))&lt;/DIV&gt;&lt;DIV&gt;)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;,&lt;/DIV&gt;&lt;DIV&gt;fabs(&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; sum&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Scenario={[actual]}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,NMY={[$(vL.Actual.UpToDate)]}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,AGGREGATION_TYPE={ytd}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,MONTH_DIFF={$(vL.CY.MonthDiff.Actual.Numer.Range)}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,HCTYPE={[$(vL.Toggle.Rates.Movement)]}&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HC)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; /&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; avg({&amp;lt;Scenario&amp;gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aggr&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sum(&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Scenario={[actual]}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,NMY={[$(vL.Actual.UpToDate)]}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,AGGREGATION_TYPE={ytd}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,MONTH_DIFF={$(vL.CY.MonthDiff.Actual.DeNumer.Range)}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,HCTYPE={[HC]}&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HC)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,$(=GetObjectField(0)),$(=GetObjectField(1)),[%PERIOD]))&lt;/DIV&gt;&lt;DIV&gt;)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;)&lt;/DIV&gt;&lt;DIV&gt;)&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Dec 2025 14:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539091#M109015</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2025-12-12T14:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539094#M109017</link>
      <description>&lt;P&gt;So thx for code use dimentions like this&lt;BR /&gt;avg(aggr(sum([A B]),[$(=GetObjectDimension(0))],[$(=GetObjectDimension(1))]))&lt;BR /&gt;I compresed the logic for tests but should help&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 14:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539094#M109017</guid>
      <dc:creator>BPiotrowski</dc:creator>
      <dc:date>2025-12-12T14:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539096#M109018</link>
      <description>&lt;P&gt;yesss&lt;BR /&gt;it wokrs&lt;BR /&gt;guess what&lt;BR /&gt;I forgot that some dimensions have spaces in their names&lt;BR /&gt;I missed the [ ]&amp;nbsp;&lt;BR /&gt;thank you very much&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/318470"&gt;@BPiotrowski&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 14:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/dynamic-aggregation/m-p/2539096#M109018</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2025-12-12T14:46:42Z</dc:date>
    </item>
  </channel>
</rss>

