<?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: MTD expression doesn't work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MTD-expression-doesn-t-work/m-p/1528922#M438600</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;RangeSum(Above(Count({&amp;lt;[Date], _Month, [_Fiscal Year],[IS4hrEDBreach] = {'No'}, Type = {'AandE'}&amp;gt;} ID), 0, &lt;FONT color="#FF0000"&gt;DayField&lt;/FONT&gt;))&lt;/PRE&gt;&lt;P&gt;or if you don't have a day field, you can try this...&lt;/P&gt;&lt;PRE&gt;RangeSum(Above(Count({&amp;lt;[Date], _Month, [_Fiscal Year],[IS4hrEDBreach] = {'No'}, Type = {'AandE'}&amp;gt;} ID), 0, &lt;FONT color="#FF0000"&gt;Day(Date)&lt;/FONT&gt;))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jan 2019 11:56:46 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-01-10T11:56:46Z</dc:date>
    <item>
      <title>MTD expression doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-expression-doesn-t-work/m-p/1528887#M438597</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;My MTD expression works ok if I don't put Date field in the dimension, but I want to see the count of attendances (MTD )on each day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="1"&gt;count&lt;/FONT&gt;&lt;FONT size="1"&gt;({&amp;lt;&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;[Date]&lt;/FONT&gt;&lt;FONT size="1"&gt;={&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;"&amp;gt;=$(=(Date(Monthstart(Max(Date)),'YYYY-MM-DD')))&amp;lt;=$(=(Date(Max(Date)-1,'YYYY-MM-DD')))"&lt;/FONT&gt;&lt;FONT size="1"&gt;},&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;_Month&lt;/FONT&gt;&lt;FONT size="1"&gt;=,&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;[_Fiscal Year]&lt;/FONT&gt;&lt;FONT size="1"&gt;=,&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;[IS4hrEDBreach]&lt;/FONT&gt;&lt;FONT size="1"&gt;={'No'},&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;Type&lt;/FONT&gt;&lt;FONT size="1"&gt;={'AandE'}&amp;gt;}&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;ID&lt;/FONT&gt;&lt;FONT size="1"&gt;)&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;I have gone through so many posts in the community&amp;nbsp; for help tried my best before I post it here, please let me know what I am missing here.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-expression-doesn-t-work/m-p/1528887#M438597</guid>
      <dc:creator>naiduvc467</dc:creator>
      <dc:date>2024-11-16T04:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: MTD expression doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-expression-doesn-t-work/m-p/1528922#M438600</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;RangeSum(Above(Count({&amp;lt;[Date], _Month, [_Fiscal Year],[IS4hrEDBreach] = {'No'}, Type = {'AandE'}&amp;gt;} ID), 0, &lt;FONT color="#FF0000"&gt;DayField&lt;/FONT&gt;))&lt;/PRE&gt;&lt;P&gt;or if you don't have a day field, you can try this...&lt;/P&gt;&lt;PRE&gt;RangeSum(Above(Count({&amp;lt;[Date], _Month, [_Fiscal Year],[IS4hrEDBreach] = {'No'}, Type = {'AandE'}&amp;gt;} ID), 0, &lt;FONT color="#FF0000"&gt;Day(Date)&lt;/FONT&gt;))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 11:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-expression-doesn-t-work/m-p/1528922#M438600</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-10T11:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: MTD expression doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-expression-doesn-t-work/m-p/1528943#M438601</link>
      <description>&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;Thanks for your quick reply, I might have written it wrong actually I want it for each date in a full month I did tried with range sum but if I use range sum and if I want to show rolling 7 days it's summing few days from previous month aswell.&lt;/P&gt;&lt;P&gt;I hope below image will be useful in knowing what I am trying to achieve. I want to show rolling 7 days of MTD.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 814px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3533i919AEBF38025702C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 12:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-expression-doesn-t-work/m-p/1528943#M438601</guid>
      <dc:creator>naiduvc467</dc:creator>
      <dc:date>2019-01-10T12:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: MTD expression doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-expression-doesn-t-work/m-p/1528945#M438602</link>
      <description>Are you using RowNo() at the end or DayField? You need to use DayField or Day(Date) so that the accumulation restarts at the end of the month.</description>
      <pubDate>Thu, 10 Jan 2019 12:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-expression-doesn-t-work/m-p/1528945#M438602</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-10T12:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: MTD expression doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-expression-doesn-t-work/m-p/1528967#M438603</link>
      <description>Thanks Sunny it works</description>
      <pubDate>Thu, 10 Jan 2019 12:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-expression-doesn-t-work/m-p/1528967#M438603</guid>
      <dc:creator>naiduvc467</dc:creator>
      <dc:date>2019-01-10T12:42:26Z</dc:date>
    </item>
  </channel>
</rss>

