<?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: Need help with getting MTD figures on a Chart Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-getting-MTD-figures-on-a-Chart-Pivot-table/m-p/363388#M135136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lynda Wales&lt;/P&gt;&lt;P&gt;800 845-3711  ext. 2366&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lyndawales@unitedsportingco.com&amp;lt;mailto:lyndawales@unitedsportingco.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2012 14:19:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-24T14:19:08Z</dc:date>
    <item>
      <title>Need help with getting MTD figures on a Chart Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-getting-MTD-figures-on-a-Chart-Pivot-table/m-p/363386#M135134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;VERY NEW to QLIKVIEW and haven't gotten to training yet...... Our Qlikview expert left the company and we are trying to get our first Dashboard up and running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DNOY calculation works just fine.&amp;nbsp; Although it’s for the entire year and not just MTD. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;DNOY&lt;/SPAN&gt; is a calculated field in the Sales Calendar files that is for the &lt;EM&gt;Number of the&amp;nbsp; Day in the Year&lt;/EM&gt; a for DayEndDate&amp;nbsp; this for our&amp;nbsp; Invoice History file.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;DNOY = {"&amp;lt;=$(=DayNumberOfYear(Today()))" },[Order Type] = {'O'},[Line Item Type] = {'I'}&amp;nbsp; &amp;gt;}[Total Line Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;My thinking&amp;nbsp; was to take the above and combine it with something similar to use in conjunction to get MTD figures.&lt;/P&gt;&lt;P&gt;However&amp;nbsp; the month calculation isn’t working&amp;nbsp; when I code the calculation by itself, so need to get that fixed before I can use it in the other calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;This is the documentation on how I’m trying to create the calc below is the list box where I was trying to verify data and see if I could get the calc right. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp; sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;SalesMonth&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt; = {"&amp;lt;=$(=Month(Today()))" },[Order Type] = {'O'},[Line Item Type] = {'I'}&amp;nbsp; &amp;gt;}[Total Line Amount])&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; THIS CALCULATION DOESN’T WORK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; a field in our database&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt; SalesMonth &lt;SPAN style="color: #1f497d;"&gt;this returns the value of &lt;STRONG&gt;Jul&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month(Today())&amp;nbsp; &lt;SPAN style="color: #1f497d;"&gt;this returns the value of&amp;nbsp; &lt;STRONG&gt;Jul&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({&amp;lt;DNOY = {"&amp;lt;=$(=DayNumberOfYear(Today()))" },[Order Type] = {'O'},[Line Item Type] = {'I'}&amp;nbsp; &amp;gt;}[Total Line Amount])&amp;nbsp;&amp;nbsp;&amp;nbsp; this Calculation works just fine BUT it’s for the entire year not just the MTD figures. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can see from the list box below that Both SalesMonth and month(Today()) return the same value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;SO MY thinking is that this next calculation should work when then&amp;nbsp; when months are both equal.&amp;nbsp;&amp;nbsp; As it’s in the same format the other one and it works.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 17:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-getting-MTD-figures-on-a-Chart-Pivot-table/m-p/363386#M135134</guid>
      <dc:creator />
      <dc:date>2012-07-23T17:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with getting MTD figures on a Chart Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-getting-MTD-figures-on-a-Chart-Pivot-table/m-p/363387#M135135</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 like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For verify&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; sum({&amp;lt;&lt;SPAN style="color: red;"&gt;SalesMonth&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt; = {"Jul"},[Order Type] = {'O'},[Line Item Type] = {'I'}&amp;nbsp; &amp;gt;}[Total Line Amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;DO you have date field, if so, you can use like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;=Sum({&amp;lt;DateField = {'&amp;gt;=$(=MonthStart(Date)) &amp;lt;=$(=MonthEnd(Date))'},&lt;/SPAN&gt;[Order Type] = {'O'},[Line Item Type] = {'I'}&amp;nbsp; &amp;gt;}[Total Line Amount])&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 19:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-getting-MTD-figures-on-a-Chart-Pivot-table/m-p/363387#M135135</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-07-23T19:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with getting MTD figures on a Chart Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-getting-MTD-figures-on-a-Chart-Pivot-table/m-p/363388#M135136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lynda Wales&lt;/P&gt;&lt;P&gt;800 845-3711  ext. 2366&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lyndawales@unitedsportingco.com&amp;lt;mailto:lyndawales@unitedsportingco.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 14:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-getting-MTD-figures-on-a-Chart-Pivot-table/m-p/363388#M135136</guid>
      <dc:creator />
      <dc:date>2012-07-24T14:19:08Z</dc:date>
    </item>
  </channel>
</rss>

