<?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 GetObjectDimension for dynamic aggregation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/GetObjectDimension-for-dynamic-aggregation/m-p/2511457#M105060</link>
    <description>&lt;P&gt;Hello&lt;BR /&gt;I got a pivot table with several dimensions&lt;BR /&gt;I'm using the following&amp;nbsp;&lt;STRONG&gt;GetObjectDimension(Dimensionality()-1)&lt;/STRONG&gt; to know the name of the dimension at each row&lt;BR /&gt;how can I use this in an expression as dynamic aggregation:&lt;BR /&gt;avg(aggr(sum(),&amp;nbsp;GetObjectDimension(Dimensionality()-1)))&lt;BR /&gt;&lt;BR /&gt;it's not working as in the preview of the expression it's as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_0-1742900238163.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178955iA4C5CCEAECC4F3C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_0-1742900238163.png" alt="ali_hijazi_0-1742900238163.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Mar 2025 10:57:34 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2025-03-25T10:57:34Z</dc:date>
    <item>
      <title>GetObjectDimension for dynamic aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/GetObjectDimension-for-dynamic-aggregation/m-p/2511457#M105060</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I got a pivot table with several dimensions&lt;BR /&gt;I'm using the following&amp;nbsp;&lt;STRONG&gt;GetObjectDimension(Dimensionality()-1)&lt;/STRONG&gt; to know the name of the dimension at each row&lt;BR /&gt;how can I use this in an expression as dynamic aggregation:&lt;BR /&gt;avg(aggr(sum(),&amp;nbsp;GetObjectDimension(Dimensionality()-1)))&lt;BR /&gt;&lt;BR /&gt;it's not working as in the preview of the expression it's as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_0-1742900238163.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178955iA4C5CCEAECC4F3C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_0-1742900238163.png" alt="ali_hijazi_0-1742900238163.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 10:57:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetObjectDimension-for-dynamic-aggregation/m-p/2511457#M105060</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2025-03-25T10:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: GetObjectDimension for dynamic aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/GetObjectDimension-for-dynamic-aggregation/m-p/2511495#M105065</link>
      <description>&lt;P&gt;You may use:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[$(=&lt;/STRONG&gt;GetObjectDimension(Dimensionality()-1)&lt;STRONG&gt;)]&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 14:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetObjectDimension-for-dynamic-aggregation/m-p/2511495#M105065</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-03-25T14:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: GetObjectDimension for dynamic aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/GetObjectDimension-for-dynamic-aggregation/m-p/2511510#M105069</link>
      <description>&lt;P&gt;doesn't work&lt;/P&gt;&lt;P&gt;it evaluates to [GetObjectDimension(Dimensionality()-1]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i tried this and it worked:&lt;/P&gt;&lt;P&gt;pick(wildmatch(GetObjectDimension(Dimensionality()-1)&lt;BR /&gt;,'Contract Type','Contract','act division','act department','act name','region','entity mgt','resource full name')&lt;BR /&gt;,$(vL.Rates.Denom.Group.By([Contract Type]))&lt;BR /&gt;,$(vL.Rates.Denom.Group.By([CNT]))&lt;BR /&gt;,$(vL.Rates.Denom.Group.By([ACT Division]))&lt;BR /&gt;,$(vL.Rates.Denom.Group.By([ACT Department]))&lt;BR /&gt;,$(vL.Rates.Denom.Group.By([ACT Name]))&lt;BR /&gt;,$(vL.Rates.Denom.Group.By([Region]))&lt;BR /&gt;,$(vL.Rates.Denom.Group.By([Entity MGT]))&lt;BR /&gt;,$(vL.Rates.Denom.Group.By([Resource Full Name]))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;in the variable I pass the dimension to group by in Aggregation&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 14:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetObjectDimension-for-dynamic-aggregation/m-p/2511510#M105069</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2025-03-25T14:57:56Z</dc:date>
    </item>
  </channel>
</rss>

