<?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: Fetch equal-greater &amp;amp; equal-lower value from a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fetch-equal-greater-amp-equal-lower-value-from-a-table/m-p/2030100#M1222360</link>
    <description>&lt;P&gt;You can use the Aggr() function and the Min() function to find the first value that is greater than or equal to the lower whisker and less than or equal to the upper whisker. Here's an example of how you can do this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;In the "Lower Whisker" expression, you can use the following formula to find the first value that is greater than or equal to the lower whisker: =Min(Aggr(If(Characteristic='γ' and Value&amp;gt;=Lower Whisker,Value), Value))&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;In the "Upper Whisker" expression, you can use the following formula to find the first value that is less than or equal to the upper whisker: =Min(Aggr(If(Characteristic='γ' and Value&amp;lt;=Upper Whisker,Value), Value))&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This will give you the first value that is greater than or equal to the lower whisker and the first value that is less than or equal to the upper whisker, respectively.&lt;/P&gt;
&lt;P&gt;Please note that this is just an example, you might want to adjust the formula according to your data and needs.&lt;/P&gt;
&lt;P&gt;It could be that you need a sort() function to get the right values.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2023 21:10:14 GMT</pubDate>
    <dc:creator>jcmachado</dc:creator>
    <dc:date>2023-01-25T21:10:14Z</dc:date>
    <item>
      <title>Fetch equal-greater &amp; equal-lower value from a table</title>
      <link>https://community.qlik.com/t5/QlikView/Fetch-equal-greater-amp-equal-lower-value-from-a-table/m-p/2023526#M1222133</link>
      <description>&lt;P&gt;Hello guys.&lt;/P&gt;
&lt;P&gt;I have this expression at QlikView in boxplot (upper and lower whisker).&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Lower Whisker:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;=FractileExc(If(Characteristic='γ',Value), 0.25) - 1.5 *(FractileExc(If(Characteristic='γ',Value), 0.75)-FractileExc(If(Characteristic='γ',Value), 0.25))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Upper Whisker:&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;FractileExc(If(Characteristic='γ',Value), 0.75) + 1.5*(FractileExc(If(Characteristic='γ',Value), 0.75)-FractileExc(If(Characteristic='γ',Value), 0.25))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For lower whisker the result is :&amp;nbsp; 7.93375&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cmano_1-1673333919830.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97635i5A38C6BE2A1E7222/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cmano_1-1673333919830.png" alt="cmano_1-1673333919830.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want the QlikView bring the first value &amp;gt;=&amp;nbsp; 7.93375 ie =8.44&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;For upper whisker the result is :&amp;nbsp; 19.62375&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cmano_2-1673334061793.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97636i8C13B59A6324186C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cmano_2-1673334061793.png" alt="cmano_2-1673334061793.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I want the QlikView bring the first value &amp;lt;=&amp;nbsp; 19.62375&amp;nbsp; ie =17&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the table is not sorted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you for your time&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 07:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetch-equal-greater-amp-equal-lower-value-from-a-table/m-p/2023526#M1222133</guid>
      <dc:creator>cmano</dc:creator>
      <dc:date>2023-01-10T07:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch equal-greater &amp; equal-lower value from a table</title>
      <link>https://community.qlik.com/t5/QlikView/Fetch-equal-greater-amp-equal-lower-value-from-a-table/m-p/2030100#M1222360</link>
      <description>&lt;P&gt;You can use the Aggr() function and the Min() function to find the first value that is greater than or equal to the lower whisker and less than or equal to the upper whisker. Here's an example of how you can do this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;In the "Lower Whisker" expression, you can use the following formula to find the first value that is greater than or equal to the lower whisker: =Min(Aggr(If(Characteristic='γ' and Value&amp;gt;=Lower Whisker,Value), Value))&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;In the "Upper Whisker" expression, you can use the following formula to find the first value that is less than or equal to the upper whisker: =Min(Aggr(If(Characteristic='γ' and Value&amp;lt;=Upper Whisker,Value), Value))&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This will give you the first value that is greater than or equal to the lower whisker and the first value that is less than or equal to the upper whisker, respectively.&lt;/P&gt;
&lt;P&gt;Please note that this is just an example, you might want to adjust the formula according to your data and needs.&lt;/P&gt;
&lt;P&gt;It could be that you need a sort() function to get the right values.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 21:10:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fetch-equal-greater-amp-equal-lower-value-from-a-table/m-p/2030100#M1222360</guid>
      <dc:creator>jcmachado</dc:creator>
      <dc:date>2023-01-25T21:10:14Z</dc:date>
    </item>
  </channel>
</rss>

