<?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 honoring the dimension within nested aggregation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/honoring-the-dimension-within-nested-aggregation/m-p/2523259#M106773</link>
    <description>&lt;P&gt;Been beating my head against the wall. What am I missing?&lt;/P&gt;
&lt;P&gt;Trying to create a measure to count active records below the median:&lt;/P&gt;
&lt;P&gt;=Count (if (InCareNow=1 and SpellDays&amp;lt;Median(Total SpellDays), SpellID))&lt;/P&gt;
&lt;P&gt;The problem is that the nested aggregation is scoped over all records, but I want the median just for the group of records associated with the dimensional value. I want to remove the "Total" qualifier from the inner aggregation but this is not allowed. My tiny brain does not comprehend why.&lt;/P&gt;
&lt;P&gt;I have tried using Aggr but ran into the same issue. Any help would be appreciated. Thank you!&lt;/P&gt;</description>
    <pubDate>Sat, 05 Jul 2025 00:00:36 GMT</pubDate>
    <dc:creator>Bolderaft</dc:creator>
    <dc:date>2025-07-05T00:00:36Z</dc:date>
    <item>
      <title>honoring the dimension within nested aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/honoring-the-dimension-within-nested-aggregation/m-p/2523259#M106773</link>
      <description>&lt;P&gt;Been beating my head against the wall. What am I missing?&lt;/P&gt;
&lt;P&gt;Trying to create a measure to count active records below the median:&lt;/P&gt;
&lt;P&gt;=Count (if (InCareNow=1 and SpellDays&amp;lt;Median(Total SpellDays), SpellID))&lt;/P&gt;
&lt;P&gt;The problem is that the nested aggregation is scoped over all records, but I want the median just for the group of records associated with the dimensional value. I want to remove the "Total" qualifier from the inner aggregation but this is not allowed. My tiny brain does not comprehend why.&lt;/P&gt;
&lt;P&gt;I have tried using Aggr but ran into the same issue. Any help would be appreciated. Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 00:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/honoring-the-dimension-within-nested-aggregation/m-p/2523259#M106773</guid>
      <dc:creator>Bolderaft</dc:creator>
      <dc:date>2025-07-05T00:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: honoring the dimension within nested aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/honoring-the-dimension-within-nested-aggregation/m-p/2523265#M106774</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count(&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; InCareNow = 1 and SpellDays &amp;lt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Aggr(Median(SpellDays), [Patient Group]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; SpellID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 15:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/honoring-the-dimension-within-nested-aggregation/m-p/2523265#M106774</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2025-07-05T15:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: honoring the dimension within nested aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/honoring-the-dimension-within-nested-aggregation/m-p/2523269#M106775</link>
      <description>&lt;P&gt;Thanks, I tried this as well but this is not working. Not sure why!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jul 2025 19:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/honoring-the-dimension-within-nested-aggregation/m-p/2523269#M106775</guid>
      <dc:creator>Bolderaft</dc:creator>
      <dc:date>2025-07-05T19:58:53Z</dc:date>
    </item>
  </channel>
</rss>

