<?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: How to find the second absolute value with its sign in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729540#M55629</link>
    <description>&lt;P&gt;How exactly you are trying to get the output, in KPI object or in the same chart as a new column? Could you post your expected output in picture?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tresesco_0-1595342956537.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37778i491503084B15FEB6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tresesco_0-1595342956537.png" alt="tresesco_0-1595342956537.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2020 14:49:28 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2020-07-21T14:49:28Z</dc:date>
    <item>
      <title>How to find the second absolute value with its sign</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729465#M55616</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to find the second maxium absolut value with respect to its dimension. So far I have managed to find its absolute value with below expression but I need to know what is its sign (positive (+) or negative (-)).&lt;/P&gt;&lt;P&gt;Does any one have an idea?&lt;/P&gt;&lt;P&gt;Max(Aggr(fAbs(Measure), firstDimension, secondDimension), 2)&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729465#M55616</guid>
      <dc:creator>Metti</dc:creator>
      <dc:date>2024-11-16T18:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the second absolute value with its sign</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729522#M55625</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you can try like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Num(Max(Aggr(Measure, firstDimension, secondDimension), 2),&amp;nbsp; '#,##0;(#,##0)')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if number is negative(-) then it is show under&amp;nbsp; bracket like (1235)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if number is positive (+) then it is show without bracket like 1234.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 14:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729522#M55625</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2020-07-21T14:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the second absolute value with its sign</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729525#M55626</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your suggested expression will alwyas give me the second maximum value. I am trying to find the second Maximum absolute value. If I have a table like below, I would like to find -80. If I use your expression I will get 60.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Metti_0-1595341300656.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37771iFAB1A606F433F949/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Metti_0-1595341300656.png" alt="Metti_0-1595341300656.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 14:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729525#M55626</guid>
      <dc:creator>Metti</dc:creator>
      <dc:date>2020-07-21T14:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the second absolute value with its sign</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729527#M55627</link>
      <description>&lt;P&gt;Try using FirstSortedValue(), like:&lt;/P&gt;&lt;P&gt;=FirstSortedValue(Num,-fabs(Num),2)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 14:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729527#M55627</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-07-21T14:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the second absolute value with its sign</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729534#M55628</link>
      <description>&lt;P&gt;I dont think your expression would work. You can try it in this dummy table where -80 should be the output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Metti_1-1595342219502.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37775i8ADA4DB71E368373/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Metti_1-1595342219502.png" alt="Metti_1-1595342219502.png" /&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, 21 Jul 2020 14:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729534#M55628</guid>
      <dc:creator>Metti</dc:creator>
      <dc:date>2020-07-21T14:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the second absolute value with its sign</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729540#M55629</link>
      <description>&lt;P&gt;How exactly you are trying to get the output, in KPI object or in the same chart as a new column? Could you post your expected output in picture?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tresesco_0-1595342956537.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37778i491503084B15FEB6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tresesco_0-1595342956537.png" alt="tresesco_0-1595342956537.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 14:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729540#M55629</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-07-21T14:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the second absolute value with its sign</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729602#M55631</link>
      <description>&lt;P&gt;I would like to show it as single value for kpi&lt;/P&gt;&lt;P&gt;In the screenshot that you attached, i don't see any dimension to aggregate on. I need to show the second maximum absolute value with respect to two dimension column.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 16:15:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729602#M55631</guid>
      <dc:creator>Metti</dc:creator>
      <dc:date>2020-07-21T16:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the second absolute value with its sign</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729611#M55632</link>
      <description>&lt;P&gt;may be you have to use &lt;STRONG&gt;Aggr&lt;/STRONG&gt; if you want it based on dimensions&lt;/P&gt;&lt;P&gt;=FirstSortedValue(&lt;STRONG&gt;aggr&lt;/STRONG&gt;(sum(&lt;STRONG&gt;Measure&lt;/STRONG&gt;),&lt;FONT color="#FF0000"&gt;Dim1,Dim1&lt;/FONT&gt;),-fabs(&lt;STRONG&gt;aggr&lt;/STRONG&gt;(sum(&lt;STRONG&gt;Measure&lt;/STRONG&gt;),&lt;FONT color="#FF0000"&gt;Dim1,Dim1&lt;/FONT&gt;)),2)&lt;/P&gt;&lt;P&gt;Where Measure,Dim1 &amp;amp; Dim2 are Your actual measure and dimensions respectively&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 16:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729611#M55632</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-21T16:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the second absolute value with its sign</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729803#M55655</link>
      <description>&lt;P&gt;Perfect. This one worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 07:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-the-second-absolute-value-with-its-sign/m-p/1729803#M55655</guid>
      <dc:creator>Metti</dc:creator>
      <dc:date>2020-07-22T07:49:42Z</dc:date>
    </item>
  </channel>
</rss>

