<?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 Loaded Month Not Null Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-Loaded-Month-Not-Null-Value/m-p/36176#M768830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mustafa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use set analysis instead of aggregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following sample data:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1529344319926168 jive_text_macro" jivemacro_uid="_1529344319926168"&gt;
&lt;P&gt;load&lt;/P&gt;
&lt;P&gt;*,&lt;/P&gt;
&lt;P&gt;Date(Date#(Year(Date)&amp;amp;'-'&amp;amp;Month(Date),'YYYY-MMM'),'MM-YYYY') as [Year/Month];&lt;/P&gt;
&lt;P&gt;load * Inline&lt;/P&gt;
&lt;P&gt;[&lt;/P&gt;
&lt;P&gt;Id,TClaimResponseTypes,Value,Date&lt;/P&gt;
&lt;P&gt;1,A,5,01/01/2018&lt;/P&gt;
&lt;P&gt;2,A,11,01/16/2018&lt;/P&gt;
&lt;P&gt;3,B,30,02/20/2018&lt;/P&gt;
&lt;P&gt;4,C,65,02/20/2018&lt;/P&gt;
&lt;P&gt;5,D,88,06/15/2018&lt;/P&gt;
&lt;P&gt;6,D,13,04/20/2018&lt;/P&gt;
&lt;P&gt;7,E,6,04/20/2018&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And as an expression, used:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15293443420474613" jivemacro_uid="_15293443420474613"&gt;
&lt;P&gt;sum(&lt;STRONG&gt;{&amp;lt;[Year/Month]={"$(=max([Year/Month]))"}&amp;gt;}&lt;/STRONG&gt;Value)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This returns me the latest loaded data month's sum of values, as bellow:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/205539_sample.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your logic for the data and year/month field might be different, but it's the same concept.&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;Felipe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2018 17:54:13 GMT</pubDate>
    <dc:creator>felipedl</dc:creator>
    <dc:date>2018-06-18T17:54:13Z</dc:date>
    <item>
      <title>Last Loaded Month Not Null Value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Loaded-Month-Not-Null-Value/m-p/36175#M768828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with the below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show in a measure the last loaded month in a table, i tried to use the below script&lt;/P&gt;&lt;P&gt;Aggr((max(MONTH)),TClaimResponseTypes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it still shows the null value as an answer, how can i eliminate the null value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&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/Last-Loaded-Month-Not-Null-Value/m-p/36175#M768828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Last Loaded Month Not Null Value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Loaded-Month-Not-Null-Value/m-p/36176#M768830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mustafa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use set analysis instead of aggregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following sample data:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1529344319926168 jive_text_macro" jivemacro_uid="_1529344319926168"&gt;
&lt;P&gt;load&lt;/P&gt;
&lt;P&gt;*,&lt;/P&gt;
&lt;P&gt;Date(Date#(Year(Date)&amp;amp;'-'&amp;amp;Month(Date),'YYYY-MMM'),'MM-YYYY') as [Year/Month];&lt;/P&gt;
&lt;P&gt;load * Inline&lt;/P&gt;
&lt;P&gt;[&lt;/P&gt;
&lt;P&gt;Id,TClaimResponseTypes,Value,Date&lt;/P&gt;
&lt;P&gt;1,A,5,01/01/2018&lt;/P&gt;
&lt;P&gt;2,A,11,01/16/2018&lt;/P&gt;
&lt;P&gt;3,B,30,02/20/2018&lt;/P&gt;
&lt;P&gt;4,C,65,02/20/2018&lt;/P&gt;
&lt;P&gt;5,D,88,06/15/2018&lt;/P&gt;
&lt;P&gt;6,D,13,04/20/2018&lt;/P&gt;
&lt;P&gt;7,E,6,04/20/2018&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And as an expression, used:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15293443420474613" jivemacro_uid="_15293443420474613"&gt;
&lt;P&gt;sum(&lt;STRONG&gt;{&amp;lt;[Year/Month]={"$(=max([Year/Month]))"}&amp;gt;}&lt;/STRONG&gt;Value)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This returns me the latest loaded data month's sum of values, as bellow:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/205539_sample.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your logic for the data and year/month field might be different, but it's the same concept.&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;Felipe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 17:54:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Loaded-Month-Not-Null-Value/m-p/36176#M768830</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2018-06-18T17:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Last Loaded Month Not Null Value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Loaded-Month-Not-Null-Value/m-p/36177#M768832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Felip &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 22:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Loaded-Month-Not-Null-Value/m-p/36177#M768832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-18T22:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Last Loaded Month Not Null Value</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Loaded-Month-Not-Null-Value/m-p/36178#M768834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem Mustafa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please mark the anwser as correct if it helped you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2018 10:33:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Loaded-Month-Not-Null-Value/m-p/36178#M768834</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2018-06-19T10:33:11Z</dc:date>
    </item>
  </channel>
</rss>

