<?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 show only one value based on count and alphabetical order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/show-only-one-value-based-on-count-and-alphabetical-order/m-p/1784658#M1209896</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I have a requirement to show single value in text box in qliksense based on two conditions.&lt;/P&gt;&lt;P&gt;1.return name based on max count(Path)&lt;/P&gt;&lt;P&gt;2. If multiple name has same count(Path) then pick alphabetical order of name.&lt;/P&gt;&lt;P&gt;If the input is&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bharathkamath28_0-1613997851841.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49550iEC53531F81D95952/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bharathkamath28_0-1613997851841.png" alt="bharathkamath28_0-1613997851841.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Return : ryan in text box as count(distinct Path) is more&lt;/P&gt;&lt;P&gt;If the input is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bharathkamath28_1-1613997923431.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49551i9E864A2D1C0CDAA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bharathkamath28_1-1613997923431.png" alt="bharathkamath28_1-1613997923431.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;return: Andrew as count(Path)=3 in both the Names, so pick Andrew alphabetically.&lt;/P&gt;&lt;P&gt;Any suggestions are much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharath&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 12:46:44 GMT</pubDate>
    <dc:creator>bharathkamath28</dc:creator>
    <dc:date>2021-02-22T12:46:44Z</dc:date>
    <item>
      <title>show only one value based on count and alphabetical order</title>
      <link>https://community.qlik.com/t5/QlikView/show-only-one-value-based-on-count-and-alphabetical-order/m-p/1784658#M1209896</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I have a requirement to show single value in text box in qliksense based on two conditions.&lt;/P&gt;&lt;P&gt;1.return name based on max count(Path)&lt;/P&gt;&lt;P&gt;2. If multiple name has same count(Path) then pick alphabetical order of name.&lt;/P&gt;&lt;P&gt;If the input is&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bharathkamath28_0-1613997851841.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49550iEC53531F81D95952/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bharathkamath28_0-1613997851841.png" alt="bharathkamath28_0-1613997851841.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Return : ryan in text box as count(distinct Path) is more&lt;/P&gt;&lt;P&gt;If the input is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bharathkamath28_1-1613997923431.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49551i9E864A2D1C0CDAA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bharathkamath28_1-1613997923431.png" alt="bharathkamath28_1-1613997923431.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;return: Andrew as count(Path)=3 in both the Names, so pick Andrew alphabetically.&lt;/P&gt;&lt;P&gt;Any suggestions are much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharath&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 12:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-only-one-value-based-on-count-and-alphabetical-order/m-p/1784658#M1209896</guid>
      <dc:creator>bharathkamath28</dc:creator>
      <dc:date>2021-02-22T12:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: show only one value based on count and alphabetical order</title>
      <link>https://community.qlik.com/t5/QlikView/show-only-one-value-based-on-count-and-alphabetical-order/m-p/1784723#M1209900</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/68213"&gt;@bharathkamath28&lt;/a&gt;&amp;nbsp;Maye be like :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=FirstSortedValue(distinct Name,-aggr(count(Path)+Rank(Name,Name)/10,Name))&lt;/LI-CODE&gt;&lt;P&gt;Examples :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Taoufiq_Zarra_0-1614001212238.png"&gt;&lt;img src="https://community.qlik.com/skins/images/02770EC0BC01C66F20EC4EACC3851929/responsive_peak/images/image_not_found.png" alt="Taoufiq_Zarra_0-1614001212238.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Taoufiq_Zarra_1-1614001241260.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49559iB412E79263B2FB0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Taoufiq_Zarra_1-1614001241260.png" alt="Taoufiq_Zarra_1-1614001241260.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Taoufiq_Zarra_2-1614001323730.png"&gt;&lt;img src="https://community.qlik.com/skins/images/02770EC0BC01C66F20EC4EACC3851929/responsive_peak/images/image_not_found.png" alt="Taoufiq_Zarra_2-1614001323730.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 13:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-only-one-value-based-on-count-and-alphabetical-order/m-p/1784723#M1209900</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2021-02-22T13:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: show only one value based on count and alphabetical order</title>
      <link>https://community.qlik.com/t5/QlikView/show-only-one-value-based-on-count-and-alphabetical-order/m-p/1785029#M1209943</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What if we want to show only those paths as a dimension in the table.&lt;/P&gt;&lt;P&gt;How can we achieve this?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 07:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-only-one-value-based-on-count-and-alphabetical-order/m-p/1785029#M1209943</guid>
      <dc:creator>bharathkamath28</dc:creator>
      <dc:date>2021-02-23T07:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: show only one value based on count and alphabetical order</title>
      <link>https://community.qlik.com/t5/QlikView/show-only-one-value-based-on-count-and-alphabetical-order/m-p/1785046#M1209945</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/68213"&gt;@bharathkamath28&lt;/a&gt;&amp;nbsp; you can use Aggr function&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 07:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-only-one-value-based-on-count-and-alphabetical-order/m-p/1785046#M1209945</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2021-02-23T07:46:20Z</dc:date>
    </item>
  </channel>
</rss>

