<?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: How to calculate MTD in Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288689#M498193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Byron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send u the format excel but actually I have to take data from QVD.....so crosstable won't work.....Pls Suggest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Aug 2011 09:55:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-08-22T09:55:17Z</dc:date>
    <item>
      <title>How to calculate MTD in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288682#M498183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M adding an excel sheet pls let me know how to calculate MTD in pivot table on Expression Level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls see the row marked with red in Excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reply ASAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shashank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 06:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288682#M498183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-22T06:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate MTD in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288683#M498184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/6663_1.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 07:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288683#M498184</guid>
      <dc:creator />
      <dc:date>2011-08-22T07:11:54Z</dc:date>
    </item>
    <item>
      <title>How to calculate MTD in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288684#M498185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, have you tried something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=rangesum(above(yourfieldname,1,rowno()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 07:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288684#M498185</guid>
      <dc:creator>sbaldwin</dc:creator>
      <dc:date>2011-08-22T07:15:59Z</dc:date>
    </item>
    <item>
      <title>How to calculate MTD in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288685#M498186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using Qlikview 9 there is no such option in it....Pls correct if I am wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 07:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288685#M498186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-22T07:38:03Z</dc:date>
    </item>
    <item>
      <title>How to calculate MTD in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288686#M498187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Baldwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not working....:(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 07:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288686#M498187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-22T07:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate MTD in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288687#M498188</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;I think the best way is to connect a calendar to your fact table in your script.&lt;/P&gt;&lt;P&gt;In the calendar you then create fields for YTD, MTD, ThisMonth, LastMonth etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your expression, you can get the MTD by using a {set}, something like (pseudo code):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$ MTD = {1}} Revenue)&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find good calendar scripts in the community.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 08:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288687#M498188</guid>
      <dc:creator>magavi_framsteg</dc:creator>
      <dc:date>2011-08-22T08:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate MTD in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288688#M498192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shashank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly I want to change your excel spreadsheet, by loading the data using using crosstable for the dates. Also I'm not sure about why you want to show dates running across columns with the weeks underneath. All together, for me, the table doesnt make much sense. I have managed to achieve what you are looking for. Totals are on top, but this can be changed in the sort option.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Most of the work has been in the script. I also used the total function in the expression to get the MTD Total to work. Hope this is what you are were looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached 3 objects. Your QV report using QV 9, A revised excel doc and an IMPORTANT image. Make sure this box is unticked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 08:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288688#M498192</guid>
      <dc:creator />
      <dc:date>2011-08-22T08:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate MTD in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288689#M498193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Byron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send u the format excel but actually I have to take data from QVD.....so crosstable won't work.....Pls Suggest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 09:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288689#M498193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-22T09:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate MTD in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288690#M498194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; In that case we use a few ideas from the previously loaded documents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create and INLINE load where we CONCATENATE. This is so we have MTD Total appearing as a field name. Can't think of another way to do this&lt;BR /&gt;2) Use the expression if(WeekNo='MTD Total' or WeekEndDate='MTD Total',sum(TOTAL&amp;lt;Date&amp;gt;Value),sum(Value))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 10:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-MTD-in-Pivot-table/m-p/288690#M498194</guid>
      <dc:creator />
      <dc:date>2011-08-22T10:25:58Z</dc:date>
    </item>
  </channel>
</rss>

