<?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: Sub Totali in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979343#M526428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To find out the max() of every month, you can try sth like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(max(Amount), Month)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //you can use this as well as per your req &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;{&amp;lt;[YEAR]= {"$(=MAX([YEAR]))"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max(&amp;lt;Total Month&amp;gt; Amount&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2015 10:13:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-26T10:13:28Z</dc:date>
    <item>
      <title>Sub Totali</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979340#M526425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello Qlik Community&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I'm a new Qlik user and as rookie I need your pleasant help.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;As first question I would like to know if I can create sub total by field, and if yes how do that? &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Second question is linked to the formula usage. In detail my need is to create a delta, as the picture enclosed, per each single month, in comparison with same month in previous year. Looking around I have found a formula which use the max() but create only one result while I need it for all the rows.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The formula is: SUM ({&amp;lt;[YEAR]= {"$(=MAX([YEAR]))"} REV) and including the -1 to find the previous year. I have also tried to change the formula without the max() but doesn't work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance for your support &lt;/P&gt;&lt;P&gt;have a nice day &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ciaooo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 10:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979340#M526425</guid>
      <dc:creator />
      <dc:date>2015-11-25T10:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totali</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979341#M526426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try tis first.,&lt;IMG alt="sub totals.PNG" class="jive-image image-1" src="/legacyfs/online/107327_sub totals.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979341#M526426</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-11-26T09:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totali</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979342#M526427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you post some sample data for your 2nd question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 1 st question, do what shiva suggested you...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 10:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979342#M526427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-26T10:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totali</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979343#M526428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To find out the max() of every month, you can try sth like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(max(Amount), Month)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //you can use this as well as per your req &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;{&amp;lt;[YEAR]= {"$(=MAX([YEAR]))"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max(&amp;lt;Total Month&amp;gt; Amount&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 10:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979343#M526428</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-26T10:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totali</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979344#M526429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can create subtotal using Pivot table. Have a look into&amp;nbsp; Pivot table chart properties --&amp;gt; presentation layer --&amp;gt; Show partial sums.&amp;nbsp; You can enable the partial sum for any level of dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the formula, have a look into the below one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if (InMonth ([Order Date], SetDateYear (Today(), max (total Year ([Order Date]), 1)), 2), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;REV&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 10:13:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979344#M526429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-26T10:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totali</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979345#M526430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ciao Stefano,&lt;/P&gt;&lt;P&gt;welcome in the community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;As first question I would like to know if I can create sub total by field, and if yes how do that?&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Yes, you can easily insert sub totals in pivot tables in Chart Properties --&amp;gt; Presentation tab --&amp;gt; select the field for which you wish to see subtotal and check flag Show Partial Sum.&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 10:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979345#M526430</guid>
      <dc:creator>simospa</dc:creator>
      <dc:date>2015-11-26T10:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totali</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979346#M526431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiva &lt;/P&gt;&lt;P&gt;thanks your idea is easier and I have changed my first idea to have a normal table into pivot to get this advantage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 10:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979346#M526431</guid>
      <dc:creator />
      <dc:date>2015-11-26T10:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totali</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979347#M526432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;np..hth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 10:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979347#M526432</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-11-26T10:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sub Totali</title>
      <link>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979348#M526433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as clarification for the 2 question in the original post formula I have translated the field ANNO iso YEAR from the picture enclosed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While what I would to achieve in the second case is the incremental REV, year over year. I cannot use the above/below formulas because I have different values in the 3rd column and are mixed. I need some formula which read the ANNO, MESE and 3° column in each row and take the REV referred to ANNO-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 11:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sub-Totali/m-p/979348#M526433</guid>
      <dc:creator />
      <dc:date>2015-11-26T11:18:18Z</dc:date>
    </item>
  </channel>
</rss>

