<?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 Show only last four ranked values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Show-only-last-four-ranked-values/m-p/2058093#M86901</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I have a straight table in which I must show only the last four ranked values by TVPI, it works well when I put the TVPI measure as the first column, however it upsets the order when I put the DPI measure as the first one, can anyone help please?&lt;/P&gt;
&lt;P&gt;Input:&lt;/P&gt;
&lt;P&gt;Table:&lt;BR /&gt;LOAD &lt;BR /&gt;* &lt;BR /&gt;Inline [&lt;BR /&gt;Fund, tvpi, date,dpi,Millesime&lt;BR /&gt;F1,0.2, 31/12/2022,0.1, 2012&lt;BR /&gt;F1,0.1, 30/06/2022,0.2, 2012&lt;BR /&gt;F2,0.4, 31/12/2022,0.3, 2023&lt;BR /&gt;F2,0.3, 01/01/2023,0.4, 2023&lt;BR /&gt;F3,0.5, 31/12/2022,0.5, 2004&lt;BR /&gt;F3,0.6, 01/01/2023,0.6, 2004&lt;BR /&gt;F4,4.5, 31/12/2022,4.5, 2002&lt;BR /&gt;F5,5.5, 31/12/2022,5.5, 2014&lt;BR /&gt;F6,6.5, 31/12/2022,6.5, 2003&lt;BR /&gt;F7,7.5, 31/12/2022,7.5, 2000&lt;BR /&gt;F8,8.5, 31/12/2022,8.5, 2001&lt;BR /&gt;F9,9.5, 31/12/2022,9.5, 2001&lt;BR /&gt;F10,10.5,31/12/2022,10.5,2001&lt;BR /&gt;F11,11.5,31/12/2022,12.5,2014&lt;BR /&gt;F12,0.25,31/12/2022,11.5,2013&lt;BR /&gt;F13,0.2,31/12/2022,13.5,2001&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Output with TVPI as first column (desired order):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMAROUF_2-1680799352850.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/104436iEFF61B857CFF2E5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMAROUF_2-1680799352850.png" alt="JMAROUF_2-1680799352850.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Output with TVPI as second column :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMAROUF_3-1680799433718.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/104437i98F165C36A912865/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMAROUF_3-1680799433718.png" alt="JMAROUF_3-1680799433718.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my expression wich I have putted in both expression and sort:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(tvpi,-date)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Apr 2023 10:06:59 GMT</pubDate>
    <dc:creator>JMAROUF</dc:creator>
    <dc:date>2023-04-11T10:06:59Z</dc:date>
    <item>
      <title>Show only last four ranked values</title>
      <link>https://community.qlik.com/t5/App-Development/Show-only-last-four-ranked-values/m-p/2058093#M86901</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I have a straight table in which I must show only the last four ranked values by TVPI, it works well when I put the TVPI measure as the first column, however it upsets the order when I put the DPI measure as the first one, can anyone help please?&lt;/P&gt;
&lt;P&gt;Input:&lt;/P&gt;
&lt;P&gt;Table:&lt;BR /&gt;LOAD &lt;BR /&gt;* &lt;BR /&gt;Inline [&lt;BR /&gt;Fund, tvpi, date,dpi,Millesime&lt;BR /&gt;F1,0.2, 31/12/2022,0.1, 2012&lt;BR /&gt;F1,0.1, 30/06/2022,0.2, 2012&lt;BR /&gt;F2,0.4, 31/12/2022,0.3, 2023&lt;BR /&gt;F2,0.3, 01/01/2023,0.4, 2023&lt;BR /&gt;F3,0.5, 31/12/2022,0.5, 2004&lt;BR /&gt;F3,0.6, 01/01/2023,0.6, 2004&lt;BR /&gt;F4,4.5, 31/12/2022,4.5, 2002&lt;BR /&gt;F5,5.5, 31/12/2022,5.5, 2014&lt;BR /&gt;F6,6.5, 31/12/2022,6.5, 2003&lt;BR /&gt;F7,7.5, 31/12/2022,7.5, 2000&lt;BR /&gt;F8,8.5, 31/12/2022,8.5, 2001&lt;BR /&gt;F9,9.5, 31/12/2022,9.5, 2001&lt;BR /&gt;F10,10.5,31/12/2022,10.5,2001&lt;BR /&gt;F11,11.5,31/12/2022,12.5,2014&lt;BR /&gt;F12,0.25,31/12/2022,11.5,2013&lt;BR /&gt;F13,0.2,31/12/2022,13.5,2001&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Output with TVPI as first column (desired order):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMAROUF_2-1680799352850.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/104436iEFF61B857CFF2E5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMAROUF_2-1680799352850.png" alt="JMAROUF_2-1680799352850.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Output with TVPI as second column :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMAROUF_3-1680799433718.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/104437i98F165C36A912865/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMAROUF_3-1680799433718.png" alt="JMAROUF_3-1680799433718.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my expression wich I have putted in both expression and sort:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(tvpi,-date)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 10:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-only-last-four-ranked-values/m-p/2058093#M86901</guid>
      <dc:creator>JMAROUF</dc:creator>
      <dc:date>2023-04-11T10:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Show only last four ranked values</title>
      <link>https://community.qlik.com/t5/App-Development/Show-only-last-four-ranked-values/m-p/2058241#M86908</link>
      <description>&lt;P&gt;When you added the two measures, did you change the order of the columns on the sort menu ?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 06:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-only-last-four-ranked-values/m-p/2058241#M86908</guid>
      <dc:creator>Sabrina_V</dc:creator>
      <dc:date>2023-04-07T06:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Show only last four ranked values</title>
      <link>https://community.qlik.com/t5/App-Development/Show-only-last-four-ranked-values/m-p/2058272#M86909</link>
      <description>&lt;P&gt;Of course:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMAROUF_0-1680854197546.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/104470iC9AE15C7F6DFA383/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMAROUF_0-1680854197546.png" alt="JMAROUF_0-1680854197546.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 07:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-only-last-four-ranked-values/m-p/2058272#M86909</guid>
      <dc:creator>JMAROUF</dc:creator>
      <dc:date>2023-04-07T07:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Show only last four ranked values</title>
      <link>https://community.qlik.com/t5/App-Development/Show-only-last-four-ranked-values/m-p/2058278#M86910</link>
      <description>&lt;P&gt;And you put sort by expression on all of the columns ?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 08:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-only-last-four-ranked-values/m-p/2058278#M86910</guid>
      <dc:creator>Sabrina_V</dc:creator>
      <dc:date>2023-04-07T08:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Show only last four ranked values</title>
      <link>https://community.qlik.com/t5/App-Development/Show-only-last-four-ranked-values/m-p/2058290#M86914</link>
      <description>&lt;P&gt;I have just one dimension (Fund) and it's set to sort by expression&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMAROUF_0-1680858893470.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/104471i8A60281B55DEBEBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JMAROUF_0-1680858893470.png" alt="JMAROUF_0-1680858893470.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 09:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-only-last-four-ranked-values/m-p/2058290#M86914</guid>
      <dc:creator>JMAROUF</dc:creator>
      <dc:date>2023-04-07T09:14:58Z</dc:date>
    </item>
  </channel>
</rss>

