<?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 Table showing Max value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790874#M61806</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have built a simple report. This report is customisable where users can select dimensions and measures to build there own report.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikBeginner1_0-1615550330874.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/51021i4F57F445CA4E3F20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikBeginner1_0-1615550330874.png" alt="QlikBeginner1_0-1615550330874.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an example here which shows a record and compares the status of the record. Currently I am using this expression,&lt;/P&gt;&lt;P&gt;Concat(distinct{$&amp;lt;SourceSystemNamePH={'Acturis BE'}, EffectiveDate -= {''}&amp;gt;}StatusDescription,', ')&lt;/P&gt;&lt;P&gt;However, I do not want to Concat, but show the latest statusdescription of that record. How would you do this?&lt;/P&gt;&lt;P&gt;I have tried this, but does not work.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FirstSortedValue(StatusDescription, -Aggr(&lt;/SPAN&gt;&amp;lt;SourceSystemNamePH={'Acturis BE'}&amp;gt;&lt;SPAN&gt;,&amp;nbsp;StatusDescription))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to get the max value of the status description where the source system name is equal to acturis BE? what am I doing wrong? it just returns&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:23:50 GMT</pubDate>
    <dc:creator>QlikBeginner1</dc:creator>
    <dc:date>2024-11-16T17:23:50Z</dc:date>
    <item>
      <title>Table showing Max value</title>
      <link>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790874#M61806</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have built a simple report. This report is customisable where users can select dimensions and measures to build there own report.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikBeginner1_0-1615550330874.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/51021i4F57F445CA4E3F20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikBeginner1_0-1615550330874.png" alt="QlikBeginner1_0-1615550330874.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an example here which shows a record and compares the status of the record. Currently I am using this expression,&lt;/P&gt;&lt;P&gt;Concat(distinct{$&amp;lt;SourceSystemNamePH={'Acturis BE'}, EffectiveDate -= {''}&amp;gt;}StatusDescription,', ')&lt;/P&gt;&lt;P&gt;However, I do not want to Concat, but show the latest statusdescription of that record. How would you do this?&lt;/P&gt;&lt;P&gt;I have tried this, but does not work.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FirstSortedValue(StatusDescription, -Aggr(&lt;/SPAN&gt;&amp;lt;SourceSystemNamePH={'Acturis BE'}&amp;gt;&lt;SPAN&gt;,&amp;nbsp;StatusDescription))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to get the max value of the status description where the source system name is equal to acturis BE? what am I doing wrong? it just returns&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790874#M61806</guid>
      <dc:creator>QlikBeginner1</dc:creator>
      <dc:date>2024-11-16T17:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Table showing Max value</title>
      <link>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790891#M61812</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;FirstSortedValue({$&amp;lt;&lt;SPAN&gt;SourceSystemNamePH={'Acturis BE'}&amp;gt;}&amp;nbsp;&lt;/SPAN&gt;StatusDescription,-&lt;SPAN&gt;EffectiveDate&lt;/SPAN&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 12:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790891#M61812</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-03-12T12:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table showing Max value</title>
      <link>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790927#M61823</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/126908"&gt;@GaryGiles&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does not seem to work, I wanted to get the latest record Status, is this the set analysis you would use to achieve this? where the source system name = acturis BE and the effective date is not null, the max (latest record) status description for that account?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 13:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790927#M61823</guid>
      <dc:creator>QlikBeginner1</dc:creator>
      <dc:date>2021-03-12T13:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Table showing Max value</title>
      <link>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790928#M61824</link>
      <description>&lt;P&gt;As there may have been multiple records per year, but wanted to compare the max status for that record for two specific source systems. I then use set analysis to see if the two status's match for that record in both source systems.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 13:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790928#M61824</guid>
      <dc:creator>QlikBeginner1</dc:creator>
      <dc:date>2021-03-12T13:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table showing Max value</title>
      <link>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790939#M61825</link>
      <description>&lt;P&gt;You may need to encase the FirstSortedValue in an aggr() function.&amp;nbsp; What is the fieldname for the value at the beginning of your example 'PC0000065'?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;aggr({$&amp;lt;SourceSystemNamePH={'Acturis BE'}&amp;gt;}&amp;nbsp;FirstSortedValue(&lt;/SPAN&gt;&lt;SPAN&gt;StatusDescription,-&lt;/SPAN&gt;&lt;SPAN&gt;EffectiveDate&lt;/SPAN&gt;&lt;SPAN&gt;),&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;FieldName&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you post a sample of the data?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 13:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790939#M61825</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-03-12T13:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table showing Max value</title>
      <link>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790959#M61828</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikBeginner1_0-1615557431662.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/51051i448F77354ED0E51B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikBeginner1_0-1615557431662.png" alt="QlikBeginner1_0-1615557431662.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please see example data, This is when I was using the Concat expression:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikBeginner1_1-1615557474560.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/51052i46ECB9474CB0C16D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikBeginner1_1-1615557474560.png" alt="QlikBeginner1_1-1615557474560.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like to see 'In force' (Acturis) and 'Cancelled' (Cogen) instead of 'Cancelled, Inforce', because there is only one status for 000008 thats why its showing correct,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help Giles!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 14:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790959#M61828</guid>
      <dc:creator>QlikBeginner1</dc:creator>
      <dc:date>2021-03-12T14:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table showing Max value</title>
      <link>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790960#M61829</link>
      <description>&lt;P&gt;I also tried using&amp;nbsp;&lt;/P&gt;&lt;P&gt;aggr({$&amp;lt;SourceSystemNamePH={'Acturis BE'}&amp;gt;} FirstSortedValue(StatusDescription,-EffectiveDate), AccountNumber) and come as NULL&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/126908"&gt;@GaryGiles&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 14:02:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790960#M61829</guid>
      <dc:creator>QlikBeginner1</dc:creator>
      <dc:date>2021-03-12T14:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Table showing Max value</title>
      <link>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790992#M61832</link>
      <description>&lt;P&gt;This should be so simple, i cant get it working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; I don't see why&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 15:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1790992#M61832</guid>
      <dc:creator>QlikBeginner1</dc:creator>
      <dc:date>2021-03-12T15:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Table showing Max value</title>
      <link>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1791019#M61836</link>
      <description>&lt;P&gt;I have also tried&amp;nbsp;MaxString({&amp;lt;EffectiveDate= {$(=max(EffectiveDate))}&amp;gt;}StatusDescription)&amp;nbsp; but this does not work&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 16:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-showing-Max-value/m-p/1791019#M61836</guid>
      <dc:creator>QlikBeginner1</dc:creator>
      <dc:date>2021-03-12T16:23:55Z</dc:date>
    </item>
  </channel>
</rss>

