<?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: Pivot Table with YTD and detailed data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351416#M130314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This gives me YTD for April, but not March.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2012 20:30:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-13T20:30:54Z</dc:date>
    <item>
      <title>Pivot Table with YTD and detailed data</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351410#M130308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a pivot table with a YTD column that I need to calculate and detailed data by month.&amp;nbsp; I have tried setting an expression for the YTD column using set analysis with Sum, but when I add this then the dimension for the field MON does not work correctly in the pivot table.&amp;nbsp; I have attached the qvw where I have the YTD expression as a simple sum, so that you can see the data.&amp;nbsp; Below is what I have tried to set the expression to, but once I add this the MON dimension no longer works when I change it to "March".&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MON&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'April', 'March'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BU Volume]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 13:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351410#M130308</guid>
      <dc:creator />
      <dc:date>2012-06-13T13:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table with YTD and detailed data</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351411#M130309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({$&amp;lt;Mon={'April','March'}&amp;gt;}[BU Volume])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 14:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351411#M130309</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-06-13T14:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table with YTD and detailed data</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351412#M130310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it does not work, it does not add the 2 dollar amounts for April and March for a YTD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do is if April is $5 and March is $3 then YTD would be $8.  I need to clear the dimension MON in order to add the two values for March and April, I want the YTD to be $8 when I select a MON of April or March.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 19:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351412#M130310</guid>
      <dc:creator />
      <dc:date>2012-06-13T19:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table with YTD and detailed data</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351413#M130311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Your YTD expression should be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;FY=,MON=,FM={"&amp;gt;=$(=YearStart(Max(FM)))&amp;lt;=$(=Max(FM))"}&amp;gt;} [BU Volume] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 19:50:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351413#M130311</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-06-13T19:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table with YTD and detailed data</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351414#M130312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not producing YTD numbers.  It still gives the value for the current month. For example, if April is $5 and March is $3 then it is giving the YTD as $5 for April and $3 for March, it should be $8 for March and $8 for April.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 20:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351414#M130312</guid>
      <dc:creator />
      <dc:date>2012-06-13T20:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table with YTD and detailed data</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351415#M130313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(TOTAL &amp;lt;FY&amp;gt;{&amp;lt;FY=,MON=,FM={"&amp;gt;=$(=YearStart(Max(FM)))&amp;lt;=$(=Max(FM))"}&amp;gt;} [BU Volume] )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 20:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351415#M130313</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-06-13T20:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table with YTD and detailed data</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351416#M130314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This gives me YTD for April, but not March.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 20:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351416#M130314</guid>
      <dc:creator />
      <dc:date>2012-06-13T20:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table with YTD and detailed data</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351417#M130315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum(TOTAL{&amp;lt;MON={'April','March'}&amp;gt;}[BU Volume])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 20:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351417#M130315</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-06-13T20:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table with YTD and detailed data</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351418#M130316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked, but the real data file does not have the MON field, it takes the FM field to determine the month by =Month(FM).   So, in the dimension is “=Month(FM)” instead of MON, I have tried replacing “MON” with “Month(FM)” but that is invalid, any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(TOTAL{&amp;lt;=Month(FM)={'April','March'}&amp;gt;}[BU Volume])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 00:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-with-YTD-and-detailed-data/m-p/351418#M130316</guid>
      <dc:creator />
      <dc:date>2012-06-14T00:36:36Z</dc:date>
    </item>
  </channel>
</rss>

