<?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 Expression is not getting picked up in Pivot Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggr-Expression-is-not-getting-picked-up-in-Pivot-Table/m-p/2102945#M90107</link>
    <description>&lt;P&gt;Hi &lt;SPAN&gt;Aurélien&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;This solves the issue.&lt;/P&gt;
&lt;P&gt;Thank you so much for your help.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Aug 2023 05:10:21 GMT</pubDate>
    <dc:creator>deepakjp</dc:creator>
    <dc:date>2023-08-07T05:10:21Z</dc:date>
    <item>
      <title>Aggr Expression is not getting picked up in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-Expression-is-not-getting-picked-up-in-Pivot-Table/m-p/2102015#M90044</link>
      <description>&lt;P&gt;I have a pivot table with 3 dimensions and a measure&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Picture1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/113509i60EA6A8150AE7FC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Picture1.jpg" alt="Picture1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Category and KPI are inline loaded and the table is pivoted by customer name.&lt;/P&gt;
&lt;P&gt;In the measure, I have given a pick, match expression to pick up the corresponding expression for the KPI.&lt;/P&gt;
&lt;P&gt;But when there is an AGGR expression, the value is not getting reflected in the table.&lt;/P&gt;
&lt;P&gt;AGGR expression is working in case of Volume, which is the first row of the table. But for any other rows, it is not getting picked up.&lt;/P&gt;
&lt;P&gt;I have only one aggr expression and I need to show it towards the middle of the table.&lt;/P&gt;
&lt;P&gt;Please see the expression below,&lt;/P&gt;
&lt;P&gt;pick(&lt;BR /&gt;match(SubCategory,&lt;BR /&gt;'Volume (m3)',&lt;BR /&gt;'ASP ($/m3)',&lt;BR /&gt;'Gross Revenue ($)',&lt;BR /&gt;'CM2 ($/m3)',&lt;BR /&gt;'Returned Concrete Margin ($)',&lt;BR /&gt;'Wait Time Margin ($)',&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;'Cancelled Orders (#)',&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;'Weighted Avg Delivery Time Slot',&lt;/P&gt;
&lt;P&gt;),&lt;/P&gt;
&lt;P&gt;Num(sum(quantity),'###,##0'),&lt;BR /&gt;Num(SUM(sales_net_value)/sum(quantity),'###,##0.00'),&lt;BR /&gt;Num(SUM(sales_net_value),'###,##0'),&lt;BR /&gt;Num(sum(CM2)/sum(quantity),'###,##0.00'),&lt;BR /&gt;Num(sum({&amp;lt;material={'GCONCRET'}&amp;gt;}sales_net_value) - sum({&amp;lt;material={'GCONCRET'}&amp;gt;}cost) - sum({&amp;lt;material={'GCONCRET'}&amp;gt;}freight_net_value),'###,##0'),&lt;BR /&gt;Num(sum({&amp;lt;level_6_description={'Waiting Time'}&amp;gt;}sales_net_value) - sum({&amp;lt;level_6_description={'Waiting Time'}&amp;gt;}cost) - sum({&amp;lt;level_6_description={'Waiting Time'}&amp;gt;}freight_net_value),'###,##0'),&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;Num(Sum(aggr(Avg(orders_cancelled),ship_to_info, Year,YearMonth)),'###,##0')&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;time(dt),&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please suggest if there is any workaround to make this work.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 10:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-Expression-is-not-getting-picked-up-in-Pivot-Table/m-p/2102015#M90044</guid>
      <dc:creator>deepakjp</dc:creator>
      <dc:date>2023-08-03T10:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Expression is not getting picked up in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-Expression-is-not-getting-picked-up-in-Pivot-Table/m-p/2102018#M90046</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try to add&amp;nbsp;&lt;SPAN&gt;SubCategory in the aggr&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Num(Sum(aggr(Avg(orders_cancelled),ship_to_info, Year,YearMonth, SubCategory)),'###,##0')&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Aurélien&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 10:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-Expression-is-not-getting-picked-up-in-Pivot-Table/m-p/2102018#M90046</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2023-08-03T10:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Expression is not getting picked up in Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-Expression-is-not-getting-picked-up-in-Pivot-Table/m-p/2102945#M90107</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;Aurélien&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;This solves the issue.&lt;/P&gt;
&lt;P&gt;Thank you so much for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 05:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-Expression-is-not-getting-picked-up-in-Pivot-Table/m-p/2102945#M90107</guid>
      <dc:creator>deepakjp</dc:creator>
      <dc:date>2023-08-07T05:10:21Z</dc:date>
    </item>
  </channel>
</rss>

