<?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: Get value form rank in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Get-value-form-rank/m-p/1768137#M59415</link>
    <description>&lt;P&gt;Dear Oleg, Thank you for fast reply. I can set all the columns except the last one (colored with red). My problem is that I can't retrieve distribution value based on SKU rank (I don`t know function name for it).&lt;/P&gt;&lt;P&gt;In my example product B has the third highest Distribution from the whole range, but we treat it as 2nd priority. Thus it should has higher Distribution - exact potential level is 80%.&lt;/P&gt;</description>
    <pubDate>Sun, 13 Dec 2020 15:03:16 GMT</pubDate>
    <dc:creator>NataliaKuz</dc:creator>
    <dc:date>2020-12-13T15:03:16Z</dc:date>
    <item>
      <title>Get value form rank</title>
      <link>https://community.qlik.com/t5/App-Development/Get-value-form-rank/m-p/1767959#M59397</link>
      <description>&lt;P&gt;Hello, Qlik Sense people, you are my last hope. I have table with products, priorities and calculated distribution (% of stores selling this product). Assuming that "the higher priority, the bigger should be distribution", I need the following &lt;FONT color="#FF0000"&gt;(RED COLUMN)&lt;/FONT&gt;:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Priority&lt;/TD&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Distribution [Expression]&lt;/TD&gt;&lt;TD&gt;Rank(DistrExpression)&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Potential Distr&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;100%&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;100%&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;70%&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;80%&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;60%&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;70%&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;80%&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;60%&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;50%&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;50%&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to get value with Rank(DistrExpression) from 3 rd column, ignoring product stated in each line. Is it possible?&lt;/P&gt;&lt;P&gt;All your suggestions will be very helpfull,&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-value-form-rank/m-p/1767959#M59397</guid>
      <dc:creator>NataliaKuz</dc:creator>
      <dc:date>2024-11-16T17:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get value form rank</title>
      <link>https://community.qlik.com/t5/App-Development/Get-value-form-rank/m-p/1768013#M59401</link>
      <description>&lt;P&gt;Hi Natalia,&lt;/P&gt;&lt;P&gt;Yes, you can do it, and it's rather simple. You can refer to chart measures by number or by name. So, one othe following should work:&lt;/P&gt;&lt;P&gt;Column(2) - for the second measure in the chart, or&lt;/P&gt;&lt;P&gt;[Rank(DistrExpression)] - assuming that this is the label of the Measure.&lt;/P&gt;&lt;P&gt;The label may not be recognized by the Expression Editor, but if you ignore the error message and approve the change, it should produce the desired result.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 16:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-value-form-rank/m-p/1768013#M59401</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2020-12-11T16:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get value form rank</title>
      <link>https://community.qlik.com/t5/App-Development/Get-value-form-rank/m-p/1768137#M59415</link>
      <description>&lt;P&gt;Dear Oleg, Thank you for fast reply. I can set all the columns except the last one (colored with red). My problem is that I can't retrieve distribution value based on SKU rank (I don`t know function name for it).&lt;/P&gt;&lt;P&gt;In my example product B has the third highest Distribution from the whole range, but we treat it as 2nd priority. Thus it should has higher Distribution - exact potential level is 80%.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 15:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-value-form-rank/m-p/1768137#M59415</guid>
      <dc:creator>NataliaKuz</dc:creator>
      <dc:date>2020-12-13T15:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get value form rank</title>
      <link>https://community.qlik.com/t5/App-Development/Get-value-form-rank/m-p/1768139#M59416</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/127688"&gt;@NataliaKuz&lt;/a&gt;&amp;nbsp; try below expression.&lt;/P&gt;&lt;P&gt;Assuming that&amp;nbsp; Priority is in sequential number format. Also Priority and Product has one to one relationship.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=subfield(concat(total aggr(sum(Expr),Product),'|',aggr(rank(sum(Expr)),Product)),'|',Priority)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;Replace&amp;nbsp;&lt;STRONG&gt;sum(Expr)&amp;nbsp;&lt;/STRONG&gt;with your&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;DistrExpression&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 15:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-value-form-rank/m-p/1768139#M59416</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-12-13T15:43:02Z</dc:date>
    </item>
  </channel>
</rss>

