<?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 problem in monthend function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715147#M1083028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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 style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;REC_DAT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;='$(vMonthEndDate)' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GR_DAT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GR_DAT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;='$(vMonthEndDate)'),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;INV_QTY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;variable vMonthenddate consists of all the monthend date in DD-MM-YYYY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;this expression works well butif the selection is based on month but it is not working on year selection as its showing 0 as output&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jun 2014 05:44:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-20T05:44:45Z</dc:date>
    <item>
      <title>problem in monthend function</title>
      <link>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715147#M1083028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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 style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;REC_DAT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;='$(vMonthEndDate)' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GR_DAT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GR_DAT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;='$(vMonthEndDate)'),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;INV_QTY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;variable vMonthenddate consists of all the monthend date in DD-MM-YYYY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;this expression works well butif the selection is based on month but it is not working on year selection as its showing 0 as output&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 05:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715147#M1083028</guid>
      <dc:creator />
      <dc:date>2014-06-20T05:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem in monthend function</title>
      <link>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715148#M1083029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the exact definition of variable vMonthEndDate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 06:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715148#M1083029</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-20T06:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: problem in monthend function</title>
      <link>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715149#M1083030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MonthEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'DD-MM-YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MothEndDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMonthEndDate is =mothendDate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 06:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715149#M1083030</guid>
      <dc:creator />
      <dc:date>2014-06-20T06:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem in monthend function</title>
      <link>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715150#M1083031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you select a year, the variable doesn't get assigned by a value, because it has many values(many monthend values for a year) in the scope then and your variable dfinition doesn't tell about which to be considered when many are there. I guess you have to use an aggregation function like:&lt;/P&gt;&lt;P&gt;vMonthEndDate = Date(&lt;STRONG&gt;Max&lt;/STRONG&gt;(MonthEndDate), 'DD-MM-YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 06:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715150#M1083031</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-20T06:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: problem in monthend function</title>
      <link>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715151#M1083032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the aggregation function displays all the months but I&amp;nbsp; am getting the same values for all the months is there any problrm in the expression are can u find where the mistake is&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 08:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715151#M1083032</guid>
      <dc:creator />
      <dc:date>2014-06-20T08:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem in monthend function</title>
      <link>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715152#M1083033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard saying without seeing your app and understanding the data. A first look at your expression tells me that may be you need AND rather than OR like:&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;REC_DAT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;='$(vMonthEndDate)' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GR_DAT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GR_DAT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;='$(vMonthEndDate)'),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;INV_QTY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 08:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715152#M1083033</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-20T08:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: problem in monthend function</title>
      <link>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715153#M1083034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vMonthEndDate = Date(&lt;STRONG&gt;Max&lt;/STRONG&gt;(MonthEndDate), 'DD-MM-YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this expression is displaying the maximum value that is present in the year and that value is being displayed in all the month fields, when i use the min instead of max it displays the minimum value for all the month fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 09:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-in-monthend-function/m-p/715153#M1083034</guid>
      <dc:creator />
      <dc:date>2014-06-20T09:04:48Z</dc:date>
    </item>
  </channel>
</rss>

