<?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: Grouping columns in pivot table, where measures contain expressions (Qlik Sense) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Grouping-columns-in-pivot-table-where-measures-contain/m-p/1984085#M81189</link>
    <description>&lt;P&gt;Hi Spiderman,&lt;/P&gt;
&lt;P&gt;please check this post. I think this is what you need. except, that you will add them as columns, not rows:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Group-Kpis-by-theme/td-p/1933287" target="_blank"&gt;Group Kpis by theme - Qlik Community - 1933287&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Johannes&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2022 08:17:23 GMT</pubDate>
    <dc:creator>Dolphin</dc:creator>
    <dc:date>2022-09-22T08:17:23Z</dc:date>
    <item>
      <title>Grouping columns in pivot table, where measures contain expressions (Qlik Sense)</title>
      <link>https://community.qlik.com/t5/App-Development/Grouping-columns-in-pivot-table-where-measures-contain/m-p/1983916#M81172</link>
      <description>&lt;P&gt;I have created a pivot table which contains account details as dimensions and "Actuals", "Forecast" and "Variance" as measures.&lt;/P&gt;
&lt;P&gt;The measures are all calculated within expression.&lt;/P&gt;
&lt;P&gt;I need to create 3 groups of columns, 2 of them (Current month and YTD) containing the measures listed above, and another group containing "Runrate", "Budget" and "Variance (Budget/Forecast)".&lt;/P&gt;
&lt;P&gt;I've seen workarounds using inline tables etc, however I'm struggling to apply this to my app.&lt;/P&gt;
&lt;P&gt;Example of desired result below, any suggestions are welcome!&lt;/P&gt;
&lt;TABLE width="1088"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD colspan="3" width="192"&gt;Current Month&lt;/TD&gt;
&lt;TD colspan="3" width="192"&gt;YTD&lt;/TD&gt;
&lt;TD colspan="4" width="256"&gt;Full Year&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;SCOA&lt;/TD&gt;
&lt;TD width="64"&gt;SCOA Description&lt;/TD&gt;
&lt;TD width="64"&gt;Old GL&amp;nbsp;&lt;/TD&gt;
&lt;TD width="64"&gt;OldGL Description&lt;/TD&gt;
&lt;TD width="64"&gt;P&amp;amp;L Classification&lt;/TD&gt;
&lt;TD width="64"&gt;IFRS&lt;/TD&gt;
&lt;TD width="64"&gt;Group Account&lt;/TD&gt;
&lt;TD width="64"&gt;Actual&lt;/TD&gt;
&lt;TD width="64"&gt;FC09&lt;/TD&gt;
&lt;TD width="64"&gt;Variance&lt;/TD&gt;
&lt;TD width="64"&gt;YTD Actual&lt;/TD&gt;
&lt;TD width="64"&gt;YTD Budget&lt;/TD&gt;
&lt;TD width="64"&gt;Variance to Budget&lt;/TD&gt;
&lt;TD width="64"&gt;Runrate&lt;/TD&gt;
&lt;TD width="64"&gt;FC09&lt;/TD&gt;
&lt;TD width="64"&gt;Full Year Budget&lt;/TD&gt;
&lt;TD width="64"&gt;Variance FC09 Vs Budget&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 21:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouping-columns-in-pivot-table-where-measures-contain/m-p/1983916#M81172</guid>
      <dc:creator>TomHollandKB</dc:creator>
      <dc:date>2022-09-21T21:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping columns in pivot table, where measures contain expressions (Qlik Sense)</title>
      <link>https://community.qlik.com/t5/App-Development/Grouping-columns-in-pivot-table-where-measures-contain/m-p/1984085#M81189</link>
      <description>&lt;P&gt;Hi Spiderman,&lt;/P&gt;
&lt;P&gt;please check this post. I think this is what you need. except, that you will add them as columns, not rows:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Group-Kpis-by-theme/td-p/1933287" target="_blank"&gt;Group Kpis by theme - Qlik Community - 1933287&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Johannes&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 08:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouping-columns-in-pivot-table-where-measures-contain/m-p/1984085#M81189</guid>
      <dc:creator>Dolphin</dc:creator>
      <dc:date>2022-09-22T08:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping columns in pivot table, where measures contain expressions (Qlik Sense)</title>
      <link>https://community.qlik.com/t5/App-Development/Grouping-columns-in-pivot-table-where-measures-contain/m-p/1984221#M81210</link>
      <description>&lt;P&gt;Thank you for your response!&lt;/P&gt;
&lt;P&gt;I've successfully created the grouped columns on the pivot table which is good progress.&lt;/P&gt;
&lt;P&gt;However, i'm now struggling with the measure expression, please see example below:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;=pick([Groups2.Measureno]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;, =sum(if([Period reporting on] = date(today(),'M') -1,Amount)) - (sum(if([Period reporting on] = date(today(),'M') -1,Amount))*2)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;, =sum(if(FCPeriod = date(today(),'M'),[FC09-4.Forecast]))&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;, =sum(if([Period reporting on] = date(today(),'M') -1,Amount)) - (sum(if([Period reporting on] = date(today(),'M') -1,Amount))*2) - sum(if(FCPeriod = date(today(),'M'),[FC09-4.Forecast]))&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Error message i'm getting is saying i'm missing a bracket, but have been trawling through the expression and can't find an error, would you mind taking a look?&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#000080"&gt;Error in expression : ')' expected&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 12:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouping-columns-in-pivot-table-where-measures-contain/m-p/1984221#M81210</guid>
      <dc:creator>TomHollandKB</dc:creator>
      <dc:date>2022-09-22T12:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping columns in pivot table, where measures contain expressions (Qlik Sense)</title>
      <link>https://community.qlik.com/t5/App-Development/Grouping-columns-in-pivot-table-where-measures-contain/m-p/1984233#M81213</link>
      <description>&lt;P&gt;Have spotted the error, I needed to remove the '=' from the expressions.&lt;/P&gt;
&lt;P&gt;Just working on the rest of the expressions will mark as solved once complete&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 12:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouping-columns-in-pivot-table-where-measures-contain/m-p/1984233#M81213</guid>
      <dc:creator>TomHollandKB</dc:creator>
      <dc:date>2022-09-22T12:32:19Z</dc:date>
    </item>
  </channel>
</rss>

