<?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: Need an answer for Scenarios in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Need-an-answer-for-Scenarios/m-p/2509202#M104671</link>
    <description>&lt;P&gt;there is a function called FirstSortedValue&lt;BR /&gt;you may use it as follows:&lt;BR /&gt;FirstSortedValue([Comment ID],-[Comment ID])&lt;BR /&gt;same applies for the Status&lt;BR /&gt;FirstSortedValue(Comment, -[Comment ID])&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_0-1741683478774.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178377iCEEBAF8C9250685E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_0-1741683478774.png" alt="ali_hijazi_0-1741683478774.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 08:58:42 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2025-03-11T08:58:42Z</dc:date>
    <item>
      <title>Need an answer for Scenarios</title>
      <link>https://community.qlik.com/t5/App-Development/Need-an-answer-for-Scenarios/m-p/2509180#M104666</link>
      <description>&lt;P&gt;Hello Community folks,&lt;/P&gt;
&lt;P&gt;I need an answer in several ways to the below questions with the table below.&lt;/P&gt;
&lt;P&gt;1.get the latest comment ID based in ID&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.get the latest status based comment ID&lt;/P&gt;
&lt;TABLE width="216"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;ID&lt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Please help me on this to get the solution is multiple ways.&amp;nbsp; Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 07:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-an-answer-for-Scenarios/m-p/2509180#M104666</guid>
      <dc:creator>Jay587</dc:creator>
      <dc:date>2025-03-11T07:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need an answer for Scenarios</title>
      <link>https://community.qlik.com/t5/App-Development/Need-an-answer-for-Scenarios/m-p/2509202#M104671</link>
      <description>&lt;P&gt;there is a function called FirstSortedValue&lt;BR /&gt;you may use it as follows:&lt;BR /&gt;FirstSortedValue([Comment ID],-[Comment ID])&lt;BR /&gt;same applies for the Status&lt;BR /&gt;FirstSortedValue(Comment, -[Comment ID])&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_0-1741683478774.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178377iCEEBAF8C9250685E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_0-1741683478774.png" alt="ali_hijazi_0-1741683478774.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 08:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-an-answer-for-Scenarios/m-p/2509202#M104671</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2025-03-11T08:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need an answer for Scenarios</title>
      <link>https://community.qlik.com/t5/App-Development/Need-an-answer-for-Scenarios/m-p/2509205#M104672</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If we consider you need to display the highest CommentID and the corresponding Comment for each ID you could use this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SRA_2-1741683273598.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178376iBD9ABC6054FEA058/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SRA_2-1741683273598.png" alt="SRA_2-1741683273598.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you display the complete table with the details, but want to display some new columns with the max CommentID and corresponding Comment you can add a TOTAL &amp;lt;ID&amp;gt; in the formula:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SRA_0-1741683136374.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178374iFB3205A634F90B02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SRA_0-1741683136374.png" alt="SRA_0-1741683136374.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hopping it will respond to your requirement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 08:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-an-answer-for-Scenarios/m-p/2509205#M104672</guid>
      <dc:creator>SRA</dc:creator>
      <dc:date>2025-03-11T08:57:55Z</dc:date>
    </item>
  </channel>
</rss>

