<?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: FirstSorted showing  value not at the needed row in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/FirstSorted-showing-value-not-at-the-needed-row/m-p/1753845#M58103</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/124906"&gt;@Micki&lt;/a&gt;&amp;nbsp;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(FirstSortedValue(TOTAL &amp;lt;T1.TITLE&amp;gt; T2.OUTCOME, -T2.HISTORY) = 'Passed' and T2.HISTORY = Max(TOTAL &amp;lt;T1.TITLE&amp;gt; T2.HISTORY), 1,0)&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 19 Oct 2020 17:59:27 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2020-10-19T17:59:27Z</dc:date>
    <item>
      <title>FirstSorted showing  value not at the needed row</title>
      <link>https://community.qlik.com/t5/App-Development/FirstSorted-showing-value-not-at-the-needed-row/m-p/1753213#M58051</link>
      <description>&lt;P&gt;Hi folks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a very basic measure with firs sorted function,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum(AGGR(
		IF(FirstSortedValue(DISTINCT LastResultOutcome, -TIMESTAMP(AnalyticsUpdatedDate)) = 'Failed', 1,0), Title))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;It's working good but showing value not on the needed row so if you see instead of 0 should be 1.&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="Micki_1-1602856091307.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42444i77C2DD401535EE79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Micki_1-1602856091307.png" alt="Micki_1-1602856091307.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does it naturally for FirstSortedvalue or it's possible to change somehow?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 13:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/FirstSorted-showing-value-not-at-the-needed-row/m-p/1753213#M58051</guid>
      <dc:creator>Micki</dc:creator>
      <dc:date>2020-10-16T13:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSorted showing  value not at the needed row</title>
      <link>https://community.qlik.com/t5/App-Development/FirstSorted-showing-value-not-at-the-needed-row/m-p/1753221#M58053</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/124906"&gt;@Micki&lt;/a&gt;&amp;nbsp;what all dimensions do you have in the chart? The row above should be 0, and the highlighted row should be 1?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 13:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/FirstSorted-showing-value-not-at-the-needed-row/m-p/1753221#M58053</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-10-16T13:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSorted showing  value not at the needed row</title>
      <link>https://community.qlik.com/t5/App-Development/FirstSorted-showing-value-not-at-the-needed-row/m-p/1753646#M58088</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Micki_7-1603099520244.png" style="width: 691px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42567i6370B558A7B3ABA4/image-dimensions/691x951?v=v2" width="691" height="951" role="button" title="Micki_7-1603099520244.png" alt="Micki_7-1603099520244.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 09:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/FirstSorted-showing-value-not-at-the-needed-row/m-p/1753646#M58088</guid>
      <dc:creator>Micki</dc:creator>
      <dc:date>2020-10-19T09:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSorted showing  value not at the needed row</title>
      <link>https://community.qlik.com/t5/App-Development/FirstSorted-showing-value-not-at-the-needed-row/m-p/1753845#M58103</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/124906"&gt;@Micki&lt;/a&gt;&amp;nbsp;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(FirstSortedValue(TOTAL &amp;lt;T1.TITLE&amp;gt; T2.OUTCOME, -T2.HISTORY) = 'Passed' and T2.HISTORY = Max(TOTAL &amp;lt;T1.TITLE&amp;gt; T2.HISTORY), 1,0)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 19 Oct 2020 17:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/FirstSorted-showing-value-not-at-the-needed-row/m-p/1753845#M58103</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-10-19T17:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSorted showing  value not at the needed row</title>
      <link>https://community.qlik.com/t5/App-Development/FirstSorted-showing-value-not-at-the-needed-row/m-p/1754476#M58159</link>
      <description>&lt;P&gt;&amp;nbsp;thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;, based on your answer i edit a little bit measure and now it's working&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 12:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/FirstSorted-showing-value-not-at-the-needed-row/m-p/1754476#M58159</guid>
      <dc:creator>Micki</dc:creator>
      <dc:date>2020-10-21T12:44:31Z</dc:date>
    </item>
  </channel>
</rss>

