<?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 how write Calculated dimension using if,rank and concat in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-write-Calculated-dimension-using-if-rank-and-concat/m-p/1655174#M729652</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Dears&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I wrote following calculated dimension which is show my top 10 selling titles based on revenue for current year.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension&lt;/STRONG&gt;:&amp;nbsp;=if(Aggr(rank(sum({&amp;lt;Year={"$(=Max(Year))"}&amp;gt;}Revenue)),SellingTitle)&amp;lt;=10,SellingTitle)&lt;/P&gt;&lt;P&gt;now I want to concat my &lt;U&gt;selling title&lt;/U&gt; with&lt;U&gt; Content Title&amp;nbsp;&lt;/U&gt; in this code&lt;/P&gt;&lt;P&gt;Can you please help me to where I should&amp;nbsp; put the CONCAT in this dimension code?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fields&lt;/STRONG&gt;:&amp;nbsp;SellingTitle, ContentTitle&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>Sat, 16 Nov 2024 19:30:06 GMT</pubDate>
    <dc:creator>nazaninslp</dc:creator>
    <dc:date>2024-11-16T19:30:06Z</dc:date>
    <item>
      <title>how write Calculated dimension using if,rank and concat</title>
      <link>https://community.qlik.com/t5/QlikView/how-write-Calculated-dimension-using-if-rank-and-concat/m-p/1655174#M729652</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Dears&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I wrote following calculated dimension which is show my top 10 selling titles based on revenue for current year.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension&lt;/STRONG&gt;:&amp;nbsp;=if(Aggr(rank(sum({&amp;lt;Year={"$(=Max(Year))"}&amp;gt;}Revenue)),SellingTitle)&amp;lt;=10,SellingTitle)&lt;/P&gt;&lt;P&gt;now I want to concat my &lt;U&gt;selling title&lt;/U&gt; with&lt;U&gt; Content Title&amp;nbsp;&lt;/U&gt; in this code&lt;/P&gt;&lt;P&gt;Can you please help me to where I should&amp;nbsp; put the CONCAT in this dimension code?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fields&lt;/STRONG&gt;:&amp;nbsp;SellingTitle, ContentTitle&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>Sat, 16 Nov 2024 19:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-write-Calculated-dimension-using-if-rank-and-concat/m-p/1655174#M729652</guid>
      <dc:creator>nazaninslp</dc:creator>
      <dc:date>2024-11-16T19:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: how write Calculated dimension using if,rank and concat</title>
      <link>https://community.qlik.com/t5/QlikView/how-write-Calculated-dimension-using-if-rank-and-concat/m-p/1655176#M729653</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;in the dimension itself you can use '&amp;amp;' symbol to put together two dimensions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=if(Aggr(rank(sum({&amp;lt;Year={"$(=Max(Year))"}&amp;gt;}Revenue)),SellingTitle)&amp;lt;=10,SellingTitle &amp;amp; ContentTitle)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;you can add ' - ' to make it look better:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;=if(Aggr(rank(sum({&amp;lt;Year={"$(=Max(Year))"}&amp;gt;}Revenue)),SellingTitle)&amp;lt;=10,SellingTitle&amp;amp; ' - ' &amp;amp;ContentTitle)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Dec 2019 12:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-write-Calculated-dimension-using-if-rank-and-concat/m-p/1655176#M729653</guid>
      <dc:creator>y_grynechko</dc:creator>
      <dc:date>2019-12-07T12:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: how write Calculated dimension using if,rank and concat</title>
      <link>https://community.qlik.com/t5/QlikView/how-write-Calculated-dimension-using-if-rank-and-concat/m-p/1655178#M729654</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Dear&amp;nbsp;&amp;nbsp; y_grynechko&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you so much, it is working fine.&lt;/P&gt;&lt;P&gt;but I faced with another problem!&lt;/P&gt;&lt;P&gt;now my Content Title is not sorted, because I need show top 10 content title and selling title based on revenue,&lt;/P&gt;&lt;P&gt;every selling title may have multiple content title&lt;/P&gt;&lt;P&gt;can you help me how fix that?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;=if(Aggr(rank(sum({&amp;lt;Year={"$(=Max(Year))"}&amp;gt;}Revenue)),&lt;STRONG&gt;SellingTitle)&amp;lt;=10,&lt;/STRONG&gt;SellingTitle&amp;amp; ' - ' &amp;amp;ContentTitle)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Dec 2019 12:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-write-Calculated-dimension-using-if-rank-and-concat/m-p/1655178#M729654</guid>
      <dc:creator>nazaninslp</dc:creator>
      <dc:date>2019-12-07T12:43:45Z</dc:date>
    </item>
  </channel>
</rss>

