<?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: Dimension in a KPI in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118106#M8246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you see if this approach is workable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubField(&lt;/P&gt;&lt;P&gt;mid(&lt;/P&gt;&lt;P&gt;concat(distinct aggr(count(ReportField)&amp;amp;'|'&amp;amp;concat(distinct Monthfield),Monthfield),','),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;findoneof(&lt;/P&gt;&lt;P&gt;concat(distinct aggr(count(ReportField)&amp;amp;'|'&amp;amp;concat(distinct Monthfield),Monthfield),','),&lt;/P&gt;&lt;P&gt;max(aggr(count(ReportField),Monthfield),',')&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;'|',&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Aug 2018 14:46:30 GMT</pubDate>
    <dc:creator>karthiksrqv</dc:creator>
    <dc:date>2018-08-25T14:46:30Z</dc:date>
    <item>
      <title>Dimension in a KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118101#M8241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning, I am trying to return our busiest month in a KPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see the data in a table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension = (Month)&amp;nbsp;&amp;nbsp;&amp;nbsp; NB&amp;nbsp; month is a field within our data&lt;/P&gt;&lt;P&gt;Measure = count(Report)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I just want the busiest month to return in a KPI when I choose year, or a range of months from a filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used =maxstring(month)&amp;nbsp; I beleive this is returning the longest word and is incorrect ???&lt;/P&gt;&lt;P&gt;I have also tried =FirstSortedValue([Month],aggr(count(Report),[Month])) however I am receiving a '-'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone advise on a solution for this issue ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 08:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118101#M8241</guid>
      <dc:creator>leefraser</dc:creator>
      <dc:date>2018-08-24T08:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in a KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118102#M8242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to the attachment below and look at the max sales column expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Arthur Fong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 16:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118102#M8242</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2018-08-24T16:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in a KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118103#M8243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;hello I'm new to this but you could try the next formula in measurements&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Max(informes)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 16px; font-family: arial, sans-serif;"&gt;and so that the name of the month appears on the label you can use the following expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 16px; font-family: arial, sans-serif;"&gt;=FirstSortedValue (mes, informes,Count(mes))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 16px; font-family: arial, sans-serif;"&gt;&lt;IMG alt="solucion mes.JPG" class="jive-image image-1" src="/legacyfs/online/211784_solucion mes.JPG" style="height: 172px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 17:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118103#M8243</guid>
      <dc:creator>enriquejts</dc:creator>
      <dc:date>2018-08-24T17:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in a KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118104#M8244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(Only({&amp;lt;Sales = {'$(=Max(Sales))'}&amp;gt;}Month),Month)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Aug 2018 13:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118104#M8244</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-25T13:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in a KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118105#M8245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Only({&amp;lt;Sales = {'$(=Max(Sales))'}&amp;gt;}Month)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Aug 2018 13:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118105#M8245</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-25T13:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in a KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118106#M8246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you see if this approach is workable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubField(&lt;/P&gt;&lt;P&gt;mid(&lt;/P&gt;&lt;P&gt;concat(distinct aggr(count(ReportField)&amp;amp;'|'&amp;amp;concat(distinct Monthfield),Monthfield),','),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;findoneof(&lt;/P&gt;&lt;P&gt;concat(distinct aggr(count(ReportField)&amp;amp;'|'&amp;amp;concat(distinct Monthfield),Monthfield),','),&lt;/P&gt;&lt;P&gt;max(aggr(count(ReportField),Monthfield),',')&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;'|',&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Aug 2018 14:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118106#M8246</guid>
      <dc:creator>karthiksrqv</dc:creator>
      <dc:date>2018-08-25T14:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in a KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118107#M8247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, thank you for posting your options.&amp;nbsp; We have found a way that works to retrive the most common (or busiest month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=mode(Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This returns text in a KPI and shows the name of the month with the highest number of reports.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="feb.PNG" class="jive-image image-1" height="116" src="https://community.qlik.com/legacyfs/online/212494_feb.PNG" style="height: 116.077px; width: 190px;" width="190" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 13:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-in-a-KPI/m-p/118107#M8247</guid>
      <dc:creator>leefraser</dc:creator>
      <dc:date>2018-09-03T13:07:17Z</dc:date>
    </item>
  </channel>
</rss>

