<?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 rank expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/rank-expression/m-p/1793476#M1210912</link>
    <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I need some help for a rank expression. I need to have a rank of my selected shop "D_ANNECY" for each field of my sector's hierarchy in my table.&lt;/P&gt;&lt;P&gt;Now I use this expression :&lt;/P&gt;&lt;P&gt;only({&amp;lt;[Comparatif Magasin]={'$(vMagasin_Analyse)'}&amp;gt;}Aggr(rank(Sum([CA HT k€ Maille])),[Comparatif Magasin]))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Romain1_0-1616433409618.png" style="width: 684px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/51623iC2DE83A1224140A4/image-dimensions/684x245?v=v2" width="684" height="245" role="button" title="Romain1_0-1616433409618.png" alt="Romain1_0-1616433409618.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It work's when I just select one value for each fields of my sector's hierarchy.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Romain1_1-1616433768987.png" style="width: 610px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/51624iC62F70300026E362/image-dimensions/610x215?v=v2" width="610" height="215" role="button" title="Romain1_1-1616433768987.png" alt="Romain1_1-1616433768987.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When one of the fields are unselected, my expression doesn't work like I want. I don't know why.&lt;/P&gt;&lt;P&gt;I try this one (not good result) :&amp;nbsp;only({&amp;lt;[Comparatif Magasin]={'$(vMagasin_Analyse)'}&amp;gt;}Aggr(rank(Sum([CA HT k€ Maille])),[Comparatif Magasin],Secteur,[Sous Secteur],Maille))&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to have good results for my each rows of my column "RANK".&lt;/P&gt;&lt;P&gt;Could you give me some help ?&lt;/P&gt;&lt;P&gt;Sorry for my bad english.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Romain&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Mar 2021 17:34:25 GMT</pubDate>
    <dc:creator>Romain1</dc:creator>
    <dc:date>2021-03-22T17:34:25Z</dc:date>
    <item>
      <title>rank expression</title>
      <link>https://community.qlik.com/t5/QlikView/rank-expression/m-p/1793476#M1210912</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I need some help for a rank expression. I need to have a rank of my selected shop "D_ANNECY" for each field of my sector's hierarchy in my table.&lt;/P&gt;&lt;P&gt;Now I use this expression :&lt;/P&gt;&lt;P&gt;only({&amp;lt;[Comparatif Magasin]={'$(vMagasin_Analyse)'}&amp;gt;}Aggr(rank(Sum([CA HT k€ Maille])),[Comparatif Magasin]))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Romain1_0-1616433409618.png" style="width: 684px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/51623iC2DE83A1224140A4/image-dimensions/684x245?v=v2" width="684" height="245" role="button" title="Romain1_0-1616433409618.png" alt="Romain1_0-1616433409618.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It work's when I just select one value for each fields of my sector's hierarchy.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Romain1_1-1616433768987.png" style="width: 610px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/51624iC62F70300026E362/image-dimensions/610x215?v=v2" width="610" height="215" role="button" title="Romain1_1-1616433768987.png" alt="Romain1_1-1616433768987.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When one of the fields are unselected, my expression doesn't work like I want. I don't know why.&lt;/P&gt;&lt;P&gt;I try this one (not good result) :&amp;nbsp;only({&amp;lt;[Comparatif Magasin]={'$(vMagasin_Analyse)'}&amp;gt;}Aggr(rank(Sum([CA HT k€ Maille])),[Comparatif Magasin],Secteur,[Sous Secteur],Maille))&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to have good results for my each rows of my column "RANK".&lt;/P&gt;&lt;P&gt;Could you give me some help ?&lt;/P&gt;&lt;P&gt;Sorry for my bad english.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Romain&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 17:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rank-expression/m-p/1793476#M1210912</guid>
      <dc:creator>Romain1</dc:creator>
      <dc:date>2021-03-22T17:34:25Z</dc:date>
    </item>
  </channel>
</rss>

