<?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: Aggregation expression difficulties in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggregation-expression-difficulties/m-p/1990828#M81954</link>
    <description>&lt;P&gt;Hi, Thank you very much.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't even imagine how many variations of this expression I tried. I was very close to it, but I guess I started running in circles.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks once again!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Bruno Silva.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2022 13:41:25 GMT</pubDate>
    <dc:creator>Brunommsilva</dc:creator>
    <dc:date>2022-10-10T13:41:25Z</dc:date>
    <item>
      <title>Aggregation expression difficulties</title>
      <link>https://community.qlik.com/t5/App-Development/Aggregation-expression-difficulties/m-p/1989739#M81824</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Been struggling to replicate an expression that the costumer needs. Excel attached.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need an expression to get the YTD value (which is the 87% in the orange cell) on a Pivot table where none of the relevant fields exist as Dimension except for Name and Product, which can be collapsed. I've tried innumerous combinations of Aggr expressions, but&amp;nbsp; nothing seems to be working.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would be very grateful if someone has a solution for this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Excel is attached. I'm not pasting the data here as it would be confusing to read.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advanced!.&lt;/P&gt;
&lt;P&gt;Bruno.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 17:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggregation-expression-difficulties/m-p/1989739#M81824</guid>
      <dc:creator>Brunommsilva</dc:creator>
      <dc:date>2022-10-06T17:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation expression difficulties</title>
      <link>https://community.qlik.com/t5/App-Development/Aggregation-expression-difficulties/m-p/1990569#M81918</link>
      <description>&lt;P&gt;Hi, it depends on how you get this 'example' data table, but from it you can get this 87,3% with formula:&lt;/P&gt;
&lt;P&gt;sum(aggr( ((Sum([SALES MONTHLY])/Sum([TARGETS MONTHLY]))*[PROD WEIGHT])*(count([PROD WEIGHT]) / 7) ,[PRODUCT NAME],[PROD WEIGHT]))&lt;/P&gt;
&lt;P&gt;where I'm not sure what this 'tYTD=7' means, so I added it by hand, but it can be replaced with measure, like count(total distinct DATAMONTH) or something else.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justISO_0-1665384177933.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/90930i095D7E938214F3B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justISO_0-1665384177933.png" alt="justISO_0-1665384177933.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 06:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggregation-expression-difficulties/m-p/1990569#M81918</guid>
      <dc:creator>justISO</dc:creator>
      <dc:date>2022-10-10T06:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation expression difficulties</title>
      <link>https://community.qlik.com/t5/App-Development/Aggregation-expression-difficulties/m-p/1990828#M81954</link>
      <description>&lt;P&gt;Hi, Thank you very much.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't even imagine how many variations of this expression I tried. I was very close to it, but I guess I started running in circles.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks once again!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Bruno Silva.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 13:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggregation-expression-difficulties/m-p/1990828#M81954</guid>
      <dc:creator>Brunommsilva</dc:creator>
      <dc:date>2022-10-10T13:41:25Z</dc:date>
    </item>
  </channel>
</rss>

