<?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 Expression Subtotal in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Expression-Subtotal/m-p/1874744#M72138</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am using below expression in one of the measures in pivot table, it is working fine in line entires but where as in subtotal it is not working properly. When we make selection of particular Dimension in the chart it work's fine. Any suggestions or advise on the below expression to work in any conditions.&lt;/P&gt;
&lt;P&gt;( EXP(sum(Aggr(Log(1+Sum({$&amp;lt;CDate={"&amp;gt;=$(=date(min(CDate)))&amp;lt;=$(=date(max(CDate)))"}&amp;gt;}Nr) / &lt;BR /&gt;FABS(Sum({$&amp;lt;CDate={"&amp;gt;=$(=date(min(CDate)))&amp;lt;=$(=date(max(CDate)))"}&amp;gt;} Dr))),CDate)))-1 )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Thu, 23 Dec 2021 15:31:55 GMT</pubDate>
    <dc:creator>manojkulkarni</dc:creator>
    <dc:date>2021-12-23T15:31:55Z</dc:date>
    <item>
      <title>Expression Subtotal</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-Subtotal/m-p/1874744#M72138</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am using below expression in one of the measures in pivot table, it is working fine in line entires but where as in subtotal it is not working properly. When we make selection of particular Dimension in the chart it work's fine. Any suggestions or advise on the below expression to work in any conditions.&lt;/P&gt;
&lt;P&gt;( EXP(sum(Aggr(Log(1+Sum({$&amp;lt;CDate={"&amp;gt;=$(=date(min(CDate)))&amp;lt;=$(=date(max(CDate)))"}&amp;gt;}Nr) / &lt;BR /&gt;FABS(Sum({$&amp;lt;CDate={"&amp;gt;=$(=date(min(CDate)))&amp;lt;=$(=date(max(CDate)))"}&amp;gt;} Dr))),CDate)))-1 )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 15:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-Subtotal/m-p/1874744#M72138</guid>
      <dc:creator>manojkulkarni</dc:creator>
      <dc:date>2021-12-23T15:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Subtotal</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-Subtotal/m-p/1875035#M72163</link>
      <description>&lt;P&gt;Hi, have you tried adding the other dimensions to the aggr?:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;( EXP(sum(Aggr(Log(1+Sum({$&amp;lt;CDate={"&amp;gt;=$(=date(min(CDate)))&amp;lt;=$(=date(max(CDate)))"}&amp;gt;}Nr) /&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FABS(Sum({$&amp;lt;CDate={"&amp;gt;=$(=date(min(CDate)))&amp;lt;=$(=date(max(CDate)))"}&amp;gt;} Dr))),CDate&lt;STRONG&gt;,[Dimension2],[Dimension3]...&lt;/STRONG&gt;)))-1 )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Dec 2021 09:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-Subtotal/m-p/1875035#M72163</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-12-25T09:23:39Z</dc:date>
    </item>
  </channel>
</rss>

