<?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 Dynamic dimension handling in Qlik Aggr() function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamic-dimension-handling-in-Qlik-Aggr-function/m-p/2531365#M107971</link>
    <description>&lt;P&gt;Is there a way to pass a dynamic dimension into the &lt;STRONG&gt;Aggr&lt;/STRONG&gt; function?&lt;BR /&gt;I tried using GetObjectDimension(0) directly inside Aggr, but it didn’t work.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(GetObjectDimension(0) = 'Dim1',
    Only(
        {&amp;lt;[Group Flag] = {1}&amp;gt;}
        Aggr(
            Rank([Scores]),
            [Class], [School]
        )
    ),
    If(GetObjectDimension(0) = 'Dim2',
        Only(
            {&amp;lt;[Group Flag] = {1}&amp;gt;}
            Aggr(
                Rank([Scores]),
                [Subject], [School]
            )
        )
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;What I’d like is for the expression to dynamically use the dimension based on whatever the user picks from the alternate dimensions in the pivot table.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Sep 2025 17:34:45 GMT</pubDate>
    <dc:creator>lost_rabbit</dc:creator>
    <dc:date>2025-09-19T17:34:45Z</dc:date>
    <item>
      <title>Dynamic dimension handling in Qlik Aggr() function</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-dimension-handling-in-Qlik-Aggr-function/m-p/2531365#M107971</link>
      <description>&lt;P&gt;Is there a way to pass a dynamic dimension into the &lt;STRONG&gt;Aggr&lt;/STRONG&gt; function?&lt;BR /&gt;I tried using GetObjectDimension(0) directly inside Aggr, but it didn’t work.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(GetObjectDimension(0) = 'Dim1',
    Only(
        {&amp;lt;[Group Flag] = {1}&amp;gt;}
        Aggr(
            Rank([Scores]),
            [Class], [School]
        )
    ),
    If(GetObjectDimension(0) = 'Dim2',
        Only(
            {&amp;lt;[Group Flag] = {1}&amp;gt;}
            Aggr(
                Rank([Scores]),
                [Subject], [School]
            )
        )
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;What I’d like is for the expression to dynamically use the dimension based on whatever the user picks from the alternate dimensions in the pivot table.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 17:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-dimension-handling-in-Qlik-Aggr-function/m-p/2531365#M107971</guid>
      <dc:creator>lost_rabbit</dc:creator>
      <dc:date>2025-09-19T17:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic dimension handling in Qlik Aggr() function</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-dimension-handling-in-Qlik-Aggr-function/m-p/2531367#M107972</link>
      <description>&lt;P&gt;although i did not understand properly.&amp;nbsp; I Guess you should use System FIeld .&amp;nbsp; there is a column which contains all the fieldName. May that Server your purpose&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/system-fields.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/system-fields.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 13:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-dimension-handling-in-Qlik-Aggr-function/m-p/2531367#M107972</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2025-09-19T13:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic dimension handling in Qlik Aggr() function</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-dimension-handling-in-Qlik-Aggr-function/m-p/2531389#M107980</link>
      <description>&lt;P&gt;I need dynamic dimension so that the Aggr() function automatically picks the dimension from the pivot table, something like below but doesn't seem to work&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Aggr(Rank([Scores]), GetObjectDimension(0), [School])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;System field doesn't work for this&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 16:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-dimension-handling-in-Qlik-Aggr-function/m-p/2531389#M107980</guid>
      <dc:creator>lost_rabbit</dc:creator>
      <dc:date>2025-09-19T16:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic dimension handling in Qlik Aggr() function</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-dimension-handling-in-Qlik-Aggr-function/m-p/2531561#M108007</link>
      <description>&lt;P&gt;Try this.Dimension:&lt;/P&gt;&lt;P&gt;=ValueList('Class','Subject')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure:&lt;/P&gt;&lt;P&gt;Pick(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Match(ValueList('Class','Subject'),'Class','Subject'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Aggr(Rank([Scores]), [Class], [School]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Aggr(Rank([Scores]), [Subject], [Sch&lt;/P&gt;&lt;P&gt;ool])&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 17:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-dimension-handling-in-Qlik-Aggr-function/m-p/2531561#M108007</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2025-09-22T17:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic dimension handling in Qlik Aggr() function</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-dimension-handling-in-Qlik-Aggr-function/m-p/2531740#M108037</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunilChauhan_3-1758723768571.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183835i7DC9DB2DF7397E06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SunilChauhan_3-1758723768571.png" alt="SunilChauhan_3-1758723768571.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunilChauhan_4-1758723818358.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183836i220BDF930D04EDD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SunilChauhan_4-1758723818358.png" alt="SunilChauhan_4-1758723818358.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunilChauhan_1-1758723615457.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183833i4EBE759C0E7B37D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SunilChauhan_1-1758723615457.png" alt="SunilChauhan_1-1758723615457.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SunilChauhan_2-1758723635962.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183834i3564BB9D72582D02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SunilChauhan_2-1758723635962.png" alt="SunilChauhan_2-1758723635962.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i am trying to simulate dynamic dimension using Qlikview. but sure we have&amp;nbsp; same in Qliksense too.if you see above screen shot we can select&amp;nbsp; from City and School. and Data rollup according to selection&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 14:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-dimension-handling-in-Qlik-Aggr-function/m-p/2531740#M108037</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2025-09-24T14:24:29Z</dc:date>
    </item>
  </channel>
</rss>

