<?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: last day from dimension month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676435#M245502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have only a month, that's rather easy, use MONTHEND() to get the last day of the month - an exception would be February, but in that case you can't do without a year.&lt;/P&gt;&lt;P&gt;If you have a year, you could use two nested functions: MONTHEND(MAKEDATE([Year_field], [Month_field], [Day_field]])) - you could just use a 1 in case you don't have a [day_field]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2014 13:49:00 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2014-06-13T13:49:00Z</dc:date>
    <item>
      <title>last day from dimension month</title>
      <link>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676434#M245501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want show a count of all tickets whose day is equal last day of month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used &lt;A _jive_internal="true" href="https://community.qlik.com/thread/85198"&gt;this answer of Vishwaranjan Kumar&lt;/A&gt;, but i can't display a sum correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 13:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676434#M245501</guid>
      <dc:creator />
      <dc:date>2014-06-13T13:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: last day from dimension month</title>
      <link>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676435#M245502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have only a month, that's rather easy, use MONTHEND() to get the last day of the month - an exception would be February, but in that case you can't do without a year.&lt;/P&gt;&lt;P&gt;If you have a year, you could use two nested functions: MONTHEND(MAKEDATE([Year_field], [Month_field], [Day_field]])) - you could just use a 1 in case you don't have a [day_field]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 13:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676435#M245502</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-06-13T13:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: last day from dimension month</title>
      <link>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676436#M245503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi José,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use the Monthend and Dayend functions in your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =sum(if(MonthEnd(Day)=DayEnd(Day),NumTicket,0)):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attention: you'd better remove the apostrophes at the end of the dates in your inline load, to make it easier to really use them as dates. On top of that I had to format them into dates by using date#(Day,'MM-DD-YYYY').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 14:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676436#M245503</guid>
      <dc:creator />
      <dc:date>2014-06-13T14:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: last day from dimension month</title>
      <link>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676437#M245504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi José,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;one solution could be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="QlikCommunity_Thread_121940_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/60589_QlikCommunity_Thread_121940_Pic1.JPG.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;maybe it's also possible to extract the month from your day field?:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14026751109326317" jivemacro_uid="_14026751109326317"&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Day) as Month&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day, Process Type, NumTicket, Year&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-31-2014, New, 1, 2014&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-22-2014, New, 2, 2014&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-20-2014, New, 3, 2014&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-31-2014, New, 4, 2014&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-31-2014, New, 5, 2014&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2-28-2014, New, 6, 2014&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2-26-2014, New, 7, 2014&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2-28-2014, New, 8, 2014&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2-28-2014, New, 9, 2014&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2-26-2014, New, 10, 2014&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2-28-2014, New, 11, 2014&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2-28-2014, New, 12, 2014&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reagrds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 16:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676437#M245504</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-06-13T16:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: last day from dimension month</title>
      <link>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676438#M245505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco, your answer it's right, but i need take max(day) of month, and i can't do this. If i modify your formula, tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=- sum([Process type] = 'New' and Day=Max(Day)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this not right. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how i do it??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 12:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676438#M245505</guid>
      <dc:creator />
      <dc:date>2014-06-16T12:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: last day from dimension month</title>
      <link>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676439#M245506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anybody here??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN dir="ltr"&gt;&lt;SPAN dir="ltr" style="font-family: 'Comic Sans MS'; color: #000000; font-size: 10pt;"&gt;I try to use a Max(Day) in set analysis. Can anybody help me?? &lt;BR /&gt;&lt;BR /&gt;I created a new table with the last day of each month, but when I used in set analysis, don't compared a day with last day. &lt;BR /&gt;&lt;BR /&gt;I need help. I have tried all possibilites but anything is right.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN dir="ltr"&gt;&lt;SPAN dir="ltr" style="font-family: 'Comic Sans MS'; color: #000000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN dir="ltr"&gt;&lt;SPAN dir="ltr" style="font-family: 'Comic Sans MS'; color: #000000; font-size: 10pt;"&gt;Best regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 10:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676439#M245506</guid>
      <dc:creator />
      <dc:date>2014-06-18T10:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: last day from dimension month</title>
      <link>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676440#M245507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attached file&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 11:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676440#M245507</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-06-18T11:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: last day from dimension month</title>
      <link>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676441#M245508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, but this method is only valid when you need show a single month. I would like to show last day of all months data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have tried use a variable for calculate a last day of month, but i had same result than you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 11:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-day-from-dimension-month/m-p/676441#M245508</guid>
      <dc:creator />
      <dc:date>2014-06-18T11:57:28Z</dc:date>
    </item>
  </channel>
</rss>

