<?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: First Sorted Value for most frequent value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660396#M448705</link>
    <description>&lt;P&gt;absolute superstar as always and certainly the best christmas present im getting this year...&lt;/P&gt;&lt;P&gt;thank you for everything on this so far to date. most appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Dec 2019 09:00:22 GMT</pubDate>
    <dc:creator>LeeSmithBtn</dc:creator>
    <dc:date>2019-12-24T09:00:22Z</dc:date>
    <item>
      <title>First Sorted Value for most frequent value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660054#M448681</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;looking for some support again, thanks so far to&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;for his extraordinary help on the app.&lt;/P&gt;&lt;P&gt;i have some columns in the app which find the min price paid across all customers by sales agent where they are within the rank 15% and 70% and then the price across all customers as the min target price that should be achieved.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i also have a column which finds the most frequent price paid by the total QTY at a customer level (min price at greatest QTY):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so this is the min price paid and no matter if a customer is selected it retains the 214.5 as the min price paid.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-12-23 at 10.08.25.png" style="width: 331px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25906iCCEB94079D38F0A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-12-23 at 10.08.25.png" alt="Screenshot 2019-12-23 at 10.08.25.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i then have is a column that finds the most frequent price paid by these customers based on their QTY&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-12-23 at 10.08.31.png" style="width: 216px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25907iA2BB28C3D48ED23E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-12-23 at 10.08.31.png" alt="Screenshot 2019-12-23 at 10.08.31.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;as you can see the customer 12 at the top as a frequent price of 192.50 so this is the correct min frequent price. however i want the last column to display the frequent price of the customer using the same logic as the min price where the qty rank &amp;gt; 15% and less than 70%. so using the same Min customer price logic but incorporating the Frequent price instead of the Min price and dropping the part that says &amp;gt;55% as this would not be necessary at this stage as the frequent price based on QTY is in the middle qty ranks.&lt;/P&gt;&lt;P&gt;so use this logic principal but without the &amp;gt;.55 line 4&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-12-23 at 10.15.23.png" style="width: 1234px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25909i91C3F051E0289C1C/image-dimensions/1234x118?v=v2" width="1234" height="118" role="button" title="Screenshot 2019-12-23 at 10.15.23.png" alt="Screenshot 2019-12-23 at 10.15.23.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and incorporate this into the measure so that it finds the frequent price across all customers. and retain ti no matter on selection of customer&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-12-23 at 10.15.35.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25908i1F18588B7F70BFB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-12-23 at 10.15.35.png" alt="Screenshot 2019-12-23 at 10.15.35.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i hope this makes sense and the app helps.&lt;/P&gt;&lt;P&gt;anything would be amazing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:24:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660054#M448681</guid>
      <dc:creator>LeeSmithBtn</dc:creator>
      <dc:date>2024-11-16T19:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted Value for most frequent value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660098#M448682</link>
      <description>&lt;P&gt;What is the expected output you are hoping to see here?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 13:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660098#M448682</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-23T13:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted Value for most frequent value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660173#M448685</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;the expected output is the same as the column that shows 214.5 no matter what customer is selected and is found using the logic previously.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so in short the middle 55% flag column shows all the customers where they meet the criteria being in the middle 55%, and of these customers the min price at greatest qty is then 214.50 by customer 22, so all customers should be comparing to the most frequent price of 214.50 no matter what customer is selected&lt;/P&gt;&lt;P&gt;i hope that makes sense&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 14:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660173#M448685</guid>
      <dc:creator>LeeSmithBtn</dc:creator>
      <dc:date>2019-12-23T14:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted Value for most frequent value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660185#M448686</link>
      <description>&lt;P&gt;so looking at the below screen shot...&lt;/P&gt;&lt;P&gt;the requirement is based on the Min Price at Greatest QTY column, where the Middle 55% flag is a 1 to find the customer with the minimum frequent price. so based on the screenshot customer26 through to customer11 are within the middle 55% based on QTY rank.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-12-23 at 14.45.39.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25935i22BAE5D4A4D899E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-12-23 at 14.45.39.png" alt="Screenshot 2019-12-23 at 14.45.39.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and the min price of these customers is 214.50, so i want no matter customer is selected that this shows 214.50 in the column showing 192.50 Min price total at greatest QTY or within a text object to be able to work out potential variances between their on frequent price and the minimum frequent price someone else has achieved,. currently it recalculates based on selecting customers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 14:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660185#M448686</guid>
      <dc:creator>LeeSmithBtn</dc:creator>
      <dc:date>2019-12-23T14:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted Value for most frequent value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660216#M448690</link>
      <description>&lt;P&gt;Don't you already get that in another column?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25940i5B2057B09AC09D0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What is wrong with these expressions?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 15:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660216#M448690</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-23T15:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted Value for most frequent value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660223#M448691</link>
      <description>&lt;P&gt;it does in that example, but that is the min price paid where achieved greater than 55% of the time and not the most frequent price paid.&lt;/P&gt;&lt;P&gt;so on this example it works correctly by chance, but in the main app (not able to share screenshots of live customer app), it doesn't work out like this and that the min price has been achieved over 55% where as actually its not the most frequent price paid.&lt;/P&gt;&lt;P&gt;i am trying to combine the 2 logics into 1 ideally, i'm struggling to write the question that makes sense and i apologise for that...&lt;/P&gt;&lt;P&gt;what i am trying to do is take away the 55% logic as this means there are sometimes customers who dont ever have 55% at the min price and therefore the variance and savings are never displayed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so to get around this, the thought is by finding the most frequent price paid by a customer takes the need&amp;nbsp; to have &amp;gt;55% logic in there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so still taking the same middle 55% of customers, then finding the price that each customer pays most frequently and then take the min of them to help identify a guide price, without requiring the need to have a set % of greater than 55%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example purposes only...&lt;/P&gt;&lt;P&gt;lets say we only have 7 customers for product A, and none of them ever achieve&amp;nbsp; the min price greater than 55% of the time, then we wouldnt ever have a target price, where as i would be able to find a most frequent min price. which in this example would be 237. across all the customers for ProductA&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-12-23 at 16.09.49.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25943i1AFB8BCAF2A37AA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-12-23 at 16.09.49.png" alt="Screenshot 2019-12-23 at 16.09.49.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does that make sense? im struggling to write to make sense sorry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 16:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660223#M448691</guid>
      <dc:creator>LeeSmithBtn</dc:creator>
      <dc:date>2019-12-23T16:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted Value for most frequent value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660245#M448693</link>
      <description>&lt;P&gt;Unfortunately, I am not sure I am able to understand what we are trying to do here...&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 17:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660245#M448693</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-23T17:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted Value for most frequent value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660264#M448698</link>
      <description>&lt;P&gt;thats Ok sunny its kind of hard to explain the issue...&amp;nbsp;&lt;/P&gt;&lt;P&gt;so what i want to do is find the most frequent price paid instead of the min price paid.&lt;/P&gt;&lt;P&gt;so currently this logic below (screenshot1) finds the price paid by the customer where based on QTY is the most often. screenshot 2 and 3: shows these in practice.&lt;/P&gt;&lt;P&gt;instead of that, i want to say find the price they paid using this logic below&lt;/P&gt;&lt;P&gt;screenshot1: finds the frequent price by customers. so the most common price they paid based on the QTY purchased and not the Minimum price. this is correct based on the next 2 screen shots.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-12-23 at 10.15.35.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25908i1F18588B7F70BFB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-12-23 at 10.15.35.png" alt="Screenshot 2019-12-23 at 10.15.35.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;screenshot2:&amp;nbsp; customer 21 has a Min price achieved of 264 based on 28.38% of the time this price was achieved.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-12-23 at 17.34.57.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25950i167EAC4AA5207474/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-12-23 at 17.34.57.png" alt="Screenshot 2019-12-23 at 17.34.57.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;screenshot3: customer 21 has achieved a price of 269.5 the most based sum of QTY.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-12-23 at 17.35.03.png" style="width: 696px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25951iD56266AAB31014BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-12-23 at 17.35.03.png" alt="Screenshot 2019-12-23 at 17.35.03.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;so find the price that each customer has paid most often by the total Qty which the above logic does...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i only want to find the Frequent price where they fall in the middle 55% of customers based on QTY like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-12-23 at 10.15.23.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25909i91C3F051E0289C1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-12-23 at 10.15.23.png" alt="Screenshot 2019-12-23 at 10.15.23.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;so the line that says &amp;gt;.55 in the if statement i want to remove as this effectively means that if no one achieves the min price &amp;gt;55% of the time then there would never be a min price. where as if i move to the min most common price achieved by customers then there would always be a value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so ideally i want to say if you are a customer who fits in the middle55% then find the most frequent price that the customer has paid... instead of finding the Minimum price. because if no customer ever buys at the minumum price greater than 55% of the time, then there is never a saving.&amp;nbsp;&lt;/P&gt;&lt;P&gt;where as if i find the most frequent price by all customers by QTY as displayed by customer 21 in this case 269.5 (most purchased price)&amp;nbsp; and not 264(min price)&amp;nbsp; and they were the lowest price customer in the middle 55% range (based on column middle55% logic) . then the target price for all customers would be 269.5.&lt;/P&gt;&lt;P&gt;does that help or made things even worse to follow, sorry haha...&lt;/P&gt;&lt;P&gt;what im trying to do is iron out where no customer has ever paid the min price &amp;gt;55% of the time and move to a logic where there would always be a Min price achieved where the customer has achieved it there most amount of time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 18:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660264#M448698</guid>
      <dc:creator>LeeSmithBtn</dc:creator>
      <dc:date>2019-12-23T18:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted Value for most frequent value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660291#M448701</link>
      <description>&lt;P&gt;Are you after this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=FirstSortedValue({&amp;lt;Customer&amp;gt;} TOTAL PricePaid, -Aggr(Sum({&amp;lt;Customer&amp;gt;}Aggr(If(Only({&amp;lt;Customer&amp;gt;} Aggr(NODISTINCT Rank(Sum({&amp;lt;Customer&amp;gt;} Quantity), 4, 1), Customer)) &amp;gt; Fractile({&amp;lt;Customer&amp;gt;}TOTAL Aggr(Rank(Sum({&amp;lt;Customer&amp;gt;}Quantity), 4, 1), Customer), 0.15) and 
																			  Only({&amp;lt;Customer&amp;gt;} Aggr(NODISTINCT Rank(Sum({&amp;lt;Customer&amp;gt;} Quantity), 4, 1), Customer)) &amp;lt;= Fractile({&amp;lt;Customer&amp;gt;} TOTAL Aggr(Rank(Sum({&amp;lt;Customer&amp;gt;}Quantity), 4, 1), Customer), 0.70) and
																			  Only({&amp;lt;Customer&amp;gt;} PricePaid) = Min({&amp;lt;Customer&amp;gt;} TOTAL &amp;lt;Customer&amp;gt; PricePaid), Only({&amp;lt;Customer&amp;gt;}Aggr(NODISTINCT Sum({&amp;lt;Customer&amp;gt;}Quantity), Customer)), 0), PricePaid, Customer)), PricePaid))
																			  
*

Avg(1)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 23 Dec 2019 19:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660291#M448701</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-23T19:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted Value for most frequent value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660396#M448705</link>
      <description>&lt;P&gt;absolute superstar as always and certainly the best christmas present im getting this year...&lt;/P&gt;&lt;P&gt;thank you for everything on this so far to date. most appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 09:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660396#M448705</guid>
      <dc:creator>LeeSmithBtn</dc:creator>
      <dc:date>2019-12-24T09:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted Value for most frequent value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660401#M448706</link>
      <description>&lt;P&gt;although on further inspection this is actually finding the minimum paid price still and not the most frequent price paid.&lt;/P&gt;&lt;P&gt;just in the example app it so happens to pick the Min price which is 214.50 and is the correct value in the example, on my actual application it should be finding 260 as the most frequent paid price, but its returning 50 which is the price the customer paid the person it finds as the most frequent but with the Min price value&lt;/P&gt;&lt;P&gt;so looks like the part its finding is not the most frequent price correctly. but ill have a look over xmas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 09:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660401#M448706</guid>
      <dc:creator>LeeSmithBtn</dc:creator>
      <dc:date>2019-12-24T09:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted Value for most frequent value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660461#M448708</link>
      <description>&lt;P&gt;Would you be able to create a sample where Min and most paid values are different?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 12:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1660461#M448708</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-24T12:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: First Sorted Value for most frequent value</title>
      <link>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1662355#M448925</link>
      <description>&lt;P&gt;HI &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as requested, here is a copy of the app which i have changed the values to highlight the issue i am finding on my own application.&lt;/P&gt;&lt;P&gt;i have saved on the workings page you created, and there are 2 text objects which show the issues here:&lt;/P&gt;&lt;P&gt;so 1 shows £220 and the other which shows £70.&amp;nbsp;&lt;/P&gt;&lt;P&gt;£220 for middle 55% is at greatest QTY as shown here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-01-03 at 10.00.11.png" style="width: 936px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26316i9CAC117F970EF927/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-01-03 at 10.00.11.png" alt="Screenshot 2020-01-03 at 10.00.11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;£70 is then for all customers based on most frequent qty which is ignoring the middle 55% by the looks:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-01-03 at 10.00.20.png" style="width: 946px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26317i7C8A206A5FE41921/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-01-03 at 10.00.20.png" alt="Screenshot 2020-01-03 at 10.00.20.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;£220 is for the selected 30 customers (which are the middle 55% of customers) which then says the £220 has the highest QTY which is fine as an option however i just want it to retain the £220 even if any customer is selected. so its a fixed £220 no matter customer selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for option 2: i want to show the minimum of the frequent prices paid for the middle 55% irrespective of customers selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so based on the data:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;option 1&lt;/STRONG&gt; would equal - £220 no matter what customer is selected as this is based on customers in the middle 55% and its the price paid most frequently by the Quantity purchased.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;option 2&amp;nbsp;&lt;/STRONG&gt;would equal - £185 no matter the selection as customer 27 has achieved this price most frequently of the middle 55% of customers therefore a target for all customers to be paying this price is achievable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i hope this helps and makes sense, and is something relatively straight forward to achieve, im just all aggr'd out &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 14:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/First-Sorted-Value-for-most-frequent-value/m-p/1662355#M448925</guid>
      <dc:creator>LeeSmithBtn</dc:creator>
      <dc:date>2020-01-14T14:03:39Z</dc:date>
    </item>
  </channel>
</rss>

