<?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: Group measures Pivot Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1755544#M58260</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6214"&gt;@amit_shetty78&lt;/a&gt;&amp;nbsp;, I have the same question, can you please help?&lt;BR /&gt;I am able to do grouping using Expression inline code above. Thanks for sharing the code it works very well.&lt;BR /&gt;&lt;BR /&gt;Is there any way to apply aggregation on ExpressionGroup? When I collapse the expression group in pivot table , the sum of all the values appears in the group name.&lt;BR /&gt;Please see screenshot for reference.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eri_0-1603471172819.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42945i451229AD214A22E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eri_0-1603471172819.png" alt="eri_0-1603471172819.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5472"&gt;@johann_bauer&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#pivot #measuregrouping&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 16:40:28 GMT</pubDate>
    <dc:creator>eri</dc:creator>
    <dc:date>2020-10-23T16:40:28Z</dc:date>
    <item>
      <title>Group measures Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1323084#M28602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;im having a pivot table with 9 calculated Measures. I want to group these measures into 3 different groups, like in this picture.&lt;/P&gt;&lt;P&gt;I know that I have to add some Dimension or Measure to the Columns. But im not sure how I group them correctly. Because there is no logical relation between these measures&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pivot.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/170472_Pivot.png" style="height: 284px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;Johann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 07:27:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1323084#M28602</guid>
      <dc:creator>johann_bauer</dc:creator>
      <dc:date>2017-07-18T07:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Group measures Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1323085#M28603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are different ways of tackling this, but the simplest (and assuming your data model isn't too large / complex, I would go with something like this - data islands can have impacts on caching and performance for very large applications, but I won't go into it here):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Script: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Customer,RevenueMTD,RevenueYTD,ProfitMTD,ProfitYTD&lt;/P&gt;&lt;P&gt;X,10,100,1,11&lt;/P&gt;&lt;P&gt;Y,20,200,2,21&lt;/P&gt;&lt;P&gt;Z,30,300,3,31&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;ExpressionID,ExpressionGroup,ExpressionName&lt;/P&gt;&lt;P&gt;1,MTD,MTD Revenue&lt;/P&gt;&lt;P&gt;2,MTD,MTD Profit&lt;/P&gt;&lt;P&gt;3,YTD,YTD Revenue&lt;/P&gt;&lt;P&gt;4,YTD,YTD Profit&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Chart Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Pick(ExpressionID, Sum(RevenueMTD), Sum(ProfitYTD), Sum(RevenueYTD), Sum(ProfitYTD))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="18-07-2017 10-10-26.jpg" class="jive-image image-1" src="/legacyfs/online/170473_18-07-2017 10-10-26.jpg" style="height: 291px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 08:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1323085#M28603</guid>
      <dc:creator />
      <dc:date>2017-07-18T08:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Group measures Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1323086#M28604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Graeme,&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;Unfortunatly the calculated measures are very complex(Set analysis + variables) so I cant model them in my script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 10:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1323086#M28604</guid>
      <dc:creator>johann_bauer</dc:creator>
      <dc:date>2017-07-18T10:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Group measures Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1323087#M28605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The logic for the expression above is not modelled in the script - just the name of the expression and it's grouping. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic for the expression is in the chart expression (you can include whatever set analysis you like in the chart expression):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Chart Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Pick(ExpressionID, Sum(RevenueMTD), Sum(ProfitYTD), Sum(RevenueYTD), Sum(ProfitYTD))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 11:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1323087#M28605</guid>
      <dc:creator />
      <dc:date>2017-07-18T11:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Group measures Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1323088#M28606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Graeme, thanks for this. Works nicely.&lt;/P&gt;&lt;P&gt;One issue is that when I collapse the expression group is there a way to do aggregation on the column included in the group? For e.g., sum all the values in the columns when collapsed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 11:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1323088#M28606</guid>
      <dc:creator>amit_shetty78</dc:creator>
      <dc:date>2018-05-10T11:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Group measures Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1755544#M58260</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6214"&gt;@amit_shetty78&lt;/a&gt;&amp;nbsp;, I have the same question, can you please help?&lt;BR /&gt;I am able to do grouping using Expression inline code above. Thanks for sharing the code it works very well.&lt;BR /&gt;&lt;BR /&gt;Is there any way to apply aggregation on ExpressionGroup? When I collapse the expression group in pivot table , the sum of all the values appears in the group name.&lt;BR /&gt;Please see screenshot for reference.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eri_0-1603471172819.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42945i451229AD214A22E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eri_0-1603471172819.png" alt="eri_0-1603471172819.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5472"&gt;@johann_bauer&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#pivot #measuregrouping&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 16:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1755544#M58260</guid>
      <dc:creator>eri</dc:creator>
      <dc:date>2020-10-23T16:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Group measures Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1756250#M58330</link>
      <description>&lt;P&gt;Hi , could you please help me?&lt;BR /&gt;I have posted my question below in the thread&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 13:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1756250#M58330</guid>
      <dc:creator>eri</dc:creator>
      <dc:date>2020-10-27T13:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Group measures Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1756601#M58355</link>
      <description>&lt;P&gt;Thanks to&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp; for the solution which worked for me, the columns can&amp;nbsp; be grouped by using below expression-&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sum(Aggr(Pick(ExpressionID, Sum(RevenueMTD), Sum(ProfitMTD), Sum(RevenueYTD), Sum(ProfitYTD)), ExpressionID, Customer))&lt;/SPAN&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;SPAN&gt;Sum(Aggr(Pick(ExpressionID, Sum(RevenueMTD), Sum(ProfitMTD), Sum(RevenueYTD), Sum(ProfitYTD)), ExpressionGroup, ExpressionName, Customer))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 10:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Group-measures-Pivot-Table/m-p/1756601#M58355</guid>
      <dc:creator>eri</dc:creator>
      <dc:date>2020-10-28T10:20:13Z</dc:date>
    </item>
  </channel>
</rss>

