<?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 Month End Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014979#M926395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff8000; font-size: 8pt; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff8000; font-size: 8pt; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 8pt;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 8pt;"&gt;I'm having a problem with the very simple code below?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;if ( MonthEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;dt_ag_closed&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0 ) = &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;dt_processed&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0) , 1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;All values are being returned as 0 whereas I know there are some 1's where the if statement is true.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Joseph.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Month End Function</title>
      <link>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014979#M926395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff8000; font-size: 8pt; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff8000; font-size: 8pt; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 8pt;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 8pt;"&gt;I'm having a problem with the very simple code below?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;if ( MonthEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;dt_ag_closed&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0 ) = &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;dt_processed&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0) , 1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;All values are being returned as 0 whereas I know there are some 1's where the if statement is true.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Joseph.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014979#M926395</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Month End Function</title>
      <link>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014980#M926396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you know that the if() statement is true for these cases?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the format of both fields?&lt;/P&gt;&lt;P&gt;Are both showing a numeric representation?&lt;/P&gt;&lt;P&gt;Do both fields show a unambiguous value within the scope of the if() statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014980#M926396</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-30T12:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Month End Function</title>
      <link>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014981#M926398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see no problem in your code. Maybe the problem is the format of your fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you add a sample of data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014981#M926398</guid>
      <dc:creator />
      <dc:date>2016-03-30T12:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Month End Function</title>
      <link>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014982#M926399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you may be check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Floor(MonthEnd(dt_ag_closed)) = Floor(MonthEnd(dt_processed)), 1, 0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014982#M926399</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-30T12:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Month End Function</title>
      <link>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014983#M926401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 14:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014983#M926401</guid>
      <dc:creator />
      <dc:date>2016-03-30T14:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Month End Function</title>
      <link>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014984#M926403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a view of the input data and have physically checked.&lt;/P&gt;&lt;P&gt;Both fields are of the format ddmmyyyy8.&lt;/P&gt;&lt;P&gt;Both are numeric.&lt;/P&gt;&lt;P&gt;Not sure what you mean on the last q?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 14:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014984#M926403</guid>
      <dc:creator />
      <dc:date>2016-03-30T14:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Month End Function</title>
      <link>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014985#M926405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a sample you can share?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 14:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014985#M926405</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-30T14:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Month End Function</title>
      <link>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014986#M926407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With the last question I wanted to ask:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In which context (AKA where? a chart? script? text box? Using dimensions? How are fields related?) are you using that expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an expression, you need to use aggregation functions:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3779"&gt;Use Aggregation Functions!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 14:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-End-Function/m-p/1014986#M926407</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-30T14:58:08Z</dc:date>
    </item>
  </channel>
</rss>

