<?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 selecting top location only???? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/selecting-top-location-only/m-p/354967#M1307073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;i have a list of companie, every company has a list of locations and every location has a list of work related problems. how can i make a table showing a breakdown of work related problems selecting the location with most problems only? i can not hard code the name of location to the expression as this will change from company to company and also on monthly basis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i tried this: &lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;= only(if(aggr(Rank(Count(distinct incidentid)),ReportLocationName)=1,ProblemType)) &lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;but it will only give me the name of top location and when i try to implement it to the table, it comes up with error message that there is a problem in my expression.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ideally i would need something looking like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Location with most problems for X company:&lt;/P&gt;&lt;P&gt;PROBLEMS&amp;nbsp; INCIDENTIDs&lt;/P&gt;&lt;P&gt;problem1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9 &lt;/P&gt;&lt;P&gt;problem2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 &lt;/P&gt;&lt;P&gt;problem3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 &lt;/P&gt;&lt;P&gt;problem4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Monika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>selecting top location only????</title>
      <link>https://community.qlik.com/t5/QlikView/selecting-top-location-only/m-p/354967#M1307073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;i have a list of companie, every company has a list of locations and every location has a list of work related problems. how can i make a table showing a breakdown of work related problems selecting the location with most problems only? i can not hard code the name of location to the expression as this will change from company to company and also on monthly basis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i tried this: &lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;= only(if(aggr(Rank(Count(distinct incidentid)),ReportLocationName)=1,ProblemType)) &lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;but it will only give me the name of top location and when i try to implement it to the table, it comes up with error message that there is a problem in my expression.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ideally i would need something looking like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Location with most problems for X company:&lt;/P&gt;&lt;P&gt;PROBLEMS&amp;nbsp; INCIDENTIDs&lt;/P&gt;&lt;P&gt;problem1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9 &lt;/P&gt;&lt;P&gt;problem2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 &lt;/P&gt;&lt;P&gt;problem3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 &lt;/P&gt;&lt;P&gt;problem4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Monika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selecting-top-location-only/m-p/354967#M1307073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
  </channel>
</rss>

