<?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: Aggr over class with variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggr-over-class-with-variable/m-p/2036471#M85400</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;thanks for the reply! However, this is not quite it. Maybe I did not explain it properly.&lt;/P&gt;
&lt;P&gt;I also have PRODUCT as the lowest dimension and for each PRODUCT I want to have sum(SALES) in its specific PRODUCT_LEVEL and PRICE_RANGE. So I thought aggregation over the dimension would be the way to go.&lt;/P&gt;
&lt;P&gt;Like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tim_G_2-1676027750769.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100191i13B15426202C7C51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tim_G_2-1676027750769.png" alt="Tim_G_2-1676027750769.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe I am on the wrong lane here trying to solve this with an AGGR function. But for PRODUCT_LEVEL it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2023 11:16:45 GMT</pubDate>
    <dc:creator>Tim_G</dc:creator>
    <dc:date>2023-02-10T11:16:45Z</dc:date>
    <item>
      <title>Aggr over class with variable</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-over-class-with-variable/m-p/2036409#M85393</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;
&lt;P&gt;I am trying to aggregate over a class which depends on a variable, such like this:&lt;/P&gt;
&lt;P&gt;aggr(nodistinct SALES, PRODUCT_LEVEL, class(PRODUCT_PRICE,$(v_PRICERANGE)))&lt;/P&gt;
&lt;P&gt;The values should be shown in a simple table. Aggregation on PRODUCT_LEVEL works fine. But I further want aggregation on Price Categories which I set with a variable which is chosen via a slider. The variable works fine for other visualizations, such that I suppose there is a problem with aggregation on classes or variables respectively.&lt;/P&gt;
&lt;P&gt;Other board discussions did not help. I would be greatful for any advice.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 09:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-over-class-with-variable/m-p/2036409#M85393</guid>
      <dc:creator>Tim_G</dc:creator>
      <dc:date>2023-02-10T09:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr over class with variable</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-over-class-with-variable/m-p/2036441#M85397</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;You don't need to use aggr, just use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;class(PRODUCT_PRICE,$(v_PRICERANGE)) as dimension&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and sum(Sales) as measure&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jbhappysocks_0-1676024394806.png" style="width: 732px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100181iC8B13EA3BA9D5B99/image-dimensions/732x443?v=v2" width="732" height="443" role="button" title="jbhappysocks_0-1676024394806.png" alt="jbhappysocks_0-1676024394806.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="jbhappysocks_1-1676024421105.png" style="width: 732px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100182i868E0CFAA6F887FD/image-dimensions/732x357?v=v2" width="732" height="357" role="button" title="jbhappysocks_1-1676024421105.png" alt="jbhappysocks_1-1676024421105.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 10:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-over-class-with-variable/m-p/2036441#M85397</guid>
      <dc:creator>jbhappysocks</dc:creator>
      <dc:date>2023-02-10T10:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr over class with variable</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-over-class-with-variable/m-p/2036471#M85400</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;thanks for the reply! However, this is not quite it. Maybe I did not explain it properly.&lt;/P&gt;
&lt;P&gt;I also have PRODUCT as the lowest dimension and for each PRODUCT I want to have sum(SALES) in its specific PRODUCT_LEVEL and PRICE_RANGE. So I thought aggregation over the dimension would be the way to go.&lt;/P&gt;
&lt;P&gt;Like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tim_G_2-1676027750769.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100191i13B15426202C7C51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tim_G_2-1676027750769.png" alt="Tim_G_2-1676027750769.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe I am on the wrong lane here trying to solve this with an AGGR function. But for PRODUCT_LEVEL it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 11:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-over-class-with-variable/m-p/2036471#M85400</guid>
      <dc:creator>Tim_G</dc:creator>
      <dc:date>2023-02-10T11:16:45Z</dc:date>
    </item>
  </channel>
</rss>

