<?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 Sub total between rows in Financial tables (in Pivot tables) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sub-total-between-rows-in-Financial-tables-in-Pivot-tables/m-p/1667935#M1246363</link>
    <description>&lt;P&gt;I have an excel sheet which i'm trying to take&amp;nbsp; P&amp;amp;L Setup and B/S setup. I can bring the all accounts with interval match but I could not bring the "sub total" lines according to between RowFrom and RowTo columns. I'm adding my Excel file.&lt;/P&gt;&lt;P&gt;I'm using in my expression but it does not help, can some one send me a sample?&lt;/P&gt;&lt;P&gt;if(RowType = 'Regular',Sum({&amp;lt;[Fiscal Year]={$(vYTDYear)} &amp;gt;} Amount),&lt;BR /&gt;if(RowType = 'Sum',aggr(Sum({&amp;lt;[Fiscal Year]={$(vYTDYear)}, RowNo= {"&amp;lt;=RowTo"}&amp;gt;}Amount), ReportRowGroup)&lt;BR /&gt;))&lt;/P&gt;&lt;P&gt;Regular part is coming but Sum parts are not coming? Please advise&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>muratakkemik</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Sub total between rows in Financial tables (in Pivot tables)</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-total-between-rows-in-Financial-tables-in-Pivot-tables/m-p/1667935#M1246363</link>
      <description>&lt;P&gt;I have an excel sheet which i'm trying to take&amp;nbsp; P&amp;amp;L Setup and B/S setup. I can bring the all accounts with interval match but I could not bring the "sub total" lines according to between RowFrom and RowTo columns. I'm adding my Excel file.&lt;/P&gt;&lt;P&gt;I'm using in my expression but it does not help, can some one send me a sample?&lt;/P&gt;&lt;P&gt;if(RowType = 'Regular',Sum({&amp;lt;[Fiscal Year]={$(vYTDYear)} &amp;gt;} Amount),&lt;BR /&gt;if(RowType = 'Sum',aggr(Sum({&amp;lt;[Fiscal Year]={$(vYTDYear)}, RowNo= {"&amp;lt;=RowTo"}&amp;gt;}Amount), ReportRowGroup)&lt;BR /&gt;))&lt;/P&gt;&lt;P&gt;Regular part is coming but Sum parts are not coming? Please advise&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-total-between-rows-in-Financial-tables-in-Pivot-tables/m-p/1667935#M1246363</guid>
      <dc:creator>muratakkemik</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sub total between rows in Financial tables (in Pivot tables)</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-total-between-rows-in-Financial-tables-in-Pivot-tables/m-p/1668454#M1246364</link>
      <description>&lt;P&gt;Hi this is a topic I interested, and I took some time to research. The way I resolve it is kind of "Manuel". Without total, seems we could not make it. I use total to create first 2 "Sum" dimensions, you could see if this helps. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 11:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-total-between-rows-in-Financial-tables-in-Pivot-tables/m-p/1668454#M1246364</guid>
      <dc:creator>alex00321</dc:creator>
      <dc:date>2020-01-23T11:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sub total between rows in Financial tables (in Pivot tables)</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-total-between-rows-in-Financial-tables-in-Pivot-tables/m-p/1668512#M1246365</link>
      <description>&lt;P&gt;is there way for having subtotals according to row numbers? For in my example, 1st subtotal is calculated row 1 to 10, second one 1 to 12 ....? I saw this solution in somewhere but i could not find it again ;(&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 13:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-total-between-rows-in-Financial-tables-in-Pivot-tables/m-p/1668512#M1246365</guid>
      <dc:creator>muratakkemik</dc:creator>
      <dc:date>2020-01-23T13:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sub total between rows in Financial tables (in Pivot tables)</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-total-between-rows-in-Financial-tables-in-Pivot-tables/m-p/1668531#M1246366</link>
      <description>&lt;P&gt;I added 3rd one in red color (Net Revenue) but it did not appear on screen, am I wrong some where?&lt;/P&gt;&lt;P&gt;if(RowType = 'Regular',Sum(Amount),&lt;BR /&gt;if(RowType = 'Sum',&lt;BR /&gt;Pick(Match(ReportRowGroup,'Gross Revenue', 'Net Revenue', &lt;FONT color="#FF0000"&gt;'Net Revenue'&lt;/FONT&gt;),&lt;BR /&gt;Sum(TOTAL {&amp;lt;ReportRowGroup={'Revenue'}&amp;gt;}Amount),&lt;BR /&gt;Sum(TOTAL {&amp;lt;ReportRowGroup={'Discount (Given)'}&amp;gt;}Amount)&lt;FONT color="#FF0000"&gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Sum(TOTAL {&amp;lt;ReportRowGroup={'Revenue'}, ReportRowGroup={'Discount (Given)'}&amp;gt;}Amount)&lt;/FONT&gt;&lt;BR /&gt;,1)))&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 14:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-total-between-rows-in-Financial-tables-in-Pivot-tables/m-p/1668531#M1246366</guid>
      <dc:creator>muratakkemik</dc:creator>
      <dc:date>2020-01-23T14:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sub total between rows in Financial tables (in Pivot tables)</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-total-between-rows-in-Financial-tables-in-Pivot-tables/m-p/1668697#M1246367</link>
      <description>&lt;P&gt;Hi you could not put two identical value in Match part, how you could set the value for it? Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 01:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-total-between-rows-in-Financial-tables-in-Pivot-tables/m-p/1668697#M1246367</guid>
      <dc:creator>alex00321</dc:creator>
      <dc:date>2020-01-24T01:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sub total between rows in Financial tables (in Pivot tables)</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-total-between-rows-in-Financial-tables-in-Pivot-tables/m-p/1670357#M1246368</link>
      <description>&lt;P&gt;I can solve the problem like below.&lt;/P&gt;&lt;P&gt;I put all subtotal formulas in variables then i used below formula in chart expression;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;if&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;RowType&lt;/SPAN&gt; = 'Regular',&lt;SPAN class="s1"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;Amount&lt;/SPAN&gt;),&lt;BR /&gt;&lt;SPAN class="s1"&gt;if&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;RowType&lt;/SPAN&gt; = 'Sum',&lt;BR /&gt;&lt;SPAN class="s1"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN class="s1"&gt;Match&lt;/SPAN&gt;(&lt;SPAN class="s2"&gt;ReportRowGroup&lt;/SPAN&gt;,'Gross Revenue','Net Revenue', 'Gross Profit I', 'Gross Profit II', 'EBITDA', 'EBIT', 'EBT', 'Net Profit'),&lt;BR /&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;&lt;I&gt;$(vPL_GrossRevenue)&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;&lt;I&gt;$(vPL_NetRevenue)&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;&lt;I&gt;$(vPL_GrossProfit1)&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;&lt;I&gt;$(vPL_GrossProfit2)&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;&lt;I&gt;$(vPL_Ebitda)&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;&lt;I&gt;$(vPL_Ebit)&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;&lt;I&gt;$(vPL_Ebt)&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;&lt;I&gt;$(vPL_NetProfit)&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;,1)))&lt;/P&gt;&lt;P class="p1"&gt;I'm also adding here one of variable formula too;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;for&amp;nbsp;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;&lt;I&gt;vPL_GrossRevenue&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;, =Sum(TOTAL {&amp;lt;ReportRowGroup={'Revenue'}&amp;gt;}Amount)&lt;/P&gt;&lt;P class="p1"&gt;for&amp;nbsp;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;&lt;I&gt;$(vPL_NetRevenue),&amp;nbsp;&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;=Sum(TOTAL {&amp;lt;ReportRowGroup={'Discount (Given)'}&amp;gt;}Amount) + $(vPL_GrossRevenue)&lt;/P&gt;&lt;P class="p1"&gt;For&amp;nbsp;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;&lt;I&gt;$(vPL_GrossProfit1),&amp;nbsp;&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;=Sum(TOTAL {&amp;lt;ReportRowGroup={'COGS'}&amp;gt;}Amount) + $(vPL_NetRevenue)&lt;/P&gt;&lt;P class="p1"&gt;....&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 10:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-total-between-rows-in-Financial-tables-in-Pivot-tables/m-p/1670357#M1246368</guid>
      <dc:creator>muratakkemik</dc:creator>
      <dc:date>2020-01-29T10:11:24Z</dc:date>
    </item>
  </channel>
</rss>

