<?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: Selecting the maximum date value from the data model based on Non Null values in a field. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83484#M785243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although I'm unable to see the button that says Correct answer in the answer that was provided. &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Feb 2018 21:11:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-27T21:11:04Z</dc:date>
    <item>
      <title>Selecting the maximum date value from the data model based on Non Null values in a field.</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83477#M785234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm very new to QlikView and I'm just starting to get head and tail of it; for the purpose of creating a dashboard, I need to display some KPIs corresponding the latest date/week where non-NULL data is available in certain fields in linked tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the data model: &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Question1.png" class="jive-image image-3" height="259" src="https://community.qlik.com/legacyfs/online/194504_Question1.png" style="height: 259.565px; width: 385px;" width="385" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the pseudocode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I go about doing this.."?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So based on the sample data below, I need vMaxDate_FiltrationPlant to be selected as&amp;nbsp; '2016-10-04' and vMaxWeek_FiltrationPlant to be selected as 41..&lt;/P&gt;&lt;P&gt;basically implement this pseudocode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;SET vMaxDate_FiltrationPlant = max(SampleDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SET vMaxWeek_FiltrationPlant&amp;nbsp; = max(Week)&lt;/P&gt;&lt;P&gt;where PAR_Filtrationplant &amp;lt;&amp;gt; NULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Question.png" class="jive-image image-1" height="353" src="https://community.qlik.com/legacyfs/online/194490_Question.png" style="height: 353px; width: 280.56px;" width="281" /&gt;&lt;/P&gt;&lt;P&gt;And based on the sample data from another fact table I need to vMaxDate_Bacteriatest to be selected as&amp;nbsp; '2018-02-23' &lt;/P&gt;&lt;P&gt;basically, perform this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vMaxDate_Bacteriatest = max(SampleDate)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;where FRNUM &amp;lt;&amp;gt; NULL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG alt="question2.png" class="image-4 jive-image" height="246" src="https://community.qlik.com/legacyfs/online/194505_question2.png" style="height: 245.333px; width: 376px;" width="376" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hope someone can help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&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/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83477#M785234</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting the maximum date value from the data model based on Non Null values in a field.</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83478#M785235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD M&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ax(SampleDate) as MaxSampleDate,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Week) as MaxWeek&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Len(Trim(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PAR_Filtrationplant)) &amp;gt; 0;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 10pt; font-style: inherit; font-family: inherit;"&gt;LET vMaxDate_FiltrationPlant = Peek('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MaxSampleDate');&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LET vMaxWeek_FiltrationPlant&amp;nbsp; = Pee('MaxWeek');&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 13:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83478#M785235</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-26T13:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting the maximum date value from the data model based on Non Null values in a field.</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83479#M785236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yayy thank you, that worked! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Could you please suggest some free online resources to learn the basics of coding in QlikView. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 18:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83479#M785236</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T18:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting the maximum date value from the data model based on Non Null values in a field.</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83480#M785237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can go through HIC's blog to learn a lot of things&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/hic/content" title="https://community.qlik.com/people/hic/content"&gt;hic's content&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 18:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83480#M785237</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-26T18:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting the maximum date value from the data model based on Non Null values in a field.</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83481#M785240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 20:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83481#M785240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T20:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting the maximum date value from the data model based on Non Null values in a field.</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83482#M785241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 19:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83482#M785241</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2018-02-27T19:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting the maximum date value from the data model based on Non Null values in a field.</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83483#M785242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure Pablo thank you for the note!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 20:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83483#M785242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T20:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting the maximum date value from the data model based on Non Null values in a field.</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83484#M785243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although I'm unable to see the button that says Correct answer in the answer that was provided. &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 21:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-the-maximum-date-value-from-the-data-model-based-on/m-p/83484#M785243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T21:11:04Z</dc:date>
    </item>
  </channel>
</rss>

