<?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: TOP 3 Values in Text Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640352#M234662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For first customer:=&lt;STRONG&gt;Count&lt;/STRONG&gt;( {1&amp;lt;CUSTOMER={"=Rank(Count(DISTINCT {1&amp;lt;BRAND={'B1', 'B5'}, CATEGORY={'C1','C2'}, INVOICE_NO=e({&amp;lt;CUSTOMER={''}&amp;gt;})&amp;gt;}INVOICE_NO))&lt;STRONG&gt;=1&lt;/STRONG&gt;"}&amp;gt;} DISTINCT&lt;STRONG&gt; INVOICE_NO&lt;/STRONG&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2014 11:17:07 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-06-05T11:17:07Z</dc:date>
    <item>
      <title>TOP 3 Values in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640345#M234655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;Need your help....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Objective is to display top three customers in below Text Box based on &lt;/P&gt;&lt;P&gt;1) COUNT of DISTINCT INVOICES&lt;/P&gt;&lt;P&gt;2) BRAND only B1 and B5&lt;/P&gt;&lt;P&gt;3) CATEGORY only C1 and C2&lt;/P&gt;&lt;P&gt;4) INVOICEs having NO CUSTOMER names should be ignored... &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i.e. NOCUSTOMER should not be displayed in TOP 3&lt;/P&gt;&lt;P&gt;5) The Result should be Fixed so that even though on selection&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;of CUSTOMER from CUSTOMER List Box would not reflect the result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample File enclosed ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 09:44:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640345#M234655</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-05T09:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: TOP 3 Values in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640346#M234656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;maybe using something like&lt;/P&gt;&lt;P&gt;=concat(if(aggr(rank(aggr(count(distinct if(len(CUSTOMER)&amp;gt;1 and match(BRAND,'B1','B5')&amp;gt;0 and match(CATEGORY,'C1','C2')&amp;gt;0, INVOICE_NO)),&amp;nbsp; CUSTOMER),3,1), CUSTOMER)&amp;lt;=3,&lt;/P&gt;&lt;P&gt;CUSTOMER),','&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 10:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640346#M234656</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2014-06-05T10:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: TOP 3 Values in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640347#M234657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Concat( {1&amp;lt;CUSTOMER={"=Rank(Count(DISTINCT {1&amp;lt;BRAND={'B1', 'B5'}, CATEGORY={'C1','C2'}, INVOICE_NO=e({&amp;lt;CUSTOMER={''}&amp;gt;})&amp;gt;}INVOICE_NO))&amp;lt;4"}&amp;gt;} DISTINCT CUSTOMER, ',')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 10:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640347#M234657</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-05T10:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: TOP 3 Values in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640348#M234658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both answers are correct but the problem is (sorry to forgot initially) I want to show in three different text boxes ...&lt;/P&gt;&lt;P&gt;Text Box 1&lt;/P&gt;&lt;P&gt;Top 1 Customer = &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tex Box 2&lt;/P&gt;&lt;P&gt;Top 2 Customer = &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text Box 3&lt;/P&gt;&lt;P&gt;Top 3 Customer =&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 10:26:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640348#M234658</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-05T10:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: TOP 3 Values in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640349#M234659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Top 1 Cust:&amp;nbsp; =Concat( {1&amp;lt;CUSTOMER={"=Rank(Count(DISTINCT {1&amp;lt;BRAND={'B1', 'B5'}, CATEGORY={'C1','C2'}, INVOICE_NO=e({&amp;lt;CUSTOMER={''}&amp;gt;})&amp;gt;}INVOICE_NO))&lt;STRONG&gt;=1&lt;/STRONG&gt;"}&amp;gt;} DISTINCT CUSTOMER, ',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Top 2,3 Cust: = change only highlighted part to &lt;STRONG&gt;=2 &lt;/STRONG&gt;and &lt;STRONG&gt;=3&lt;/STRONG&gt; respectively&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 10:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640349#M234659</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-05T10:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: TOP 3 Values in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640350#M234660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's DONE... !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only( {1&amp;lt;CUSTOMER={"=Rank(Count(DISTINCT {1&amp;lt;BRAND={'B1', 'B5'}, CATEGORY={'C1','C2'}, INVOICE_NO=e({&amp;lt;CUSTOMER={''}&amp;gt;})&amp;gt;}INVOICE_NO))=&lt;STRONG&gt;1&lt;/STRONG&gt;"}&amp;gt;} CUSTOMER)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need to change 1 with 2 and 3 with other text box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you both...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 10:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640350#M234660</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-05T10:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: TOP 3 Values in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640351#M234661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more question....?&lt;/P&gt;&lt;P&gt;How to show the Invoice Count also for these three Customers?&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Text Box 1&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;CustomerName = TotalDistinctInvoices&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Tex Box 2&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;CustomerName = TotalDistinctInvoices&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Text Box 3&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;CustomerName = TotalDistinctInvoices&lt;/P&gt;&lt;DIV class="jive-thread-reply-btn-helpful" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/120939" style="margin: 0 20px 0 0; padding: 2px 14px 4px 28px; font-weight: bold; font-style: inherit; font-family: inherit; color: #3778c7; background-color: #f3f3f3;"&gt;TOP 3 Values in Text Box&lt;/A&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 11:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640351#M234661</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-05T11:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: TOP 3 Values in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640352#M234662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For first customer:=&lt;STRONG&gt;Count&lt;/STRONG&gt;( {1&amp;lt;CUSTOMER={"=Rank(Count(DISTINCT {1&amp;lt;BRAND={'B1', 'B5'}, CATEGORY={'C1','C2'}, INVOICE_NO=e({&amp;lt;CUSTOMER={''}&amp;gt;})&amp;gt;}INVOICE_NO))&lt;STRONG&gt;=1&lt;/STRONG&gt;"}&amp;gt;} DISTINCT&lt;STRONG&gt; INVOICE_NO&lt;/STRONG&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 11:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640352#M234662</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-05T11:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: TOP 3 Values in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640353#M234663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No.. .giving wrong COUNT...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 11:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640353#M234663</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-05T11:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: TOP 3 Values in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640354#M234664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DONE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count( {1&amp;lt;CUSTOMER={"=Rank(Count(DISTINCT {1&amp;lt;BRAND={'B1', 'B5'}, CATEGORY={'C1','C2'}, INVOICE_NO=e({&amp;lt;CUSTOMER={''}&amp;gt;})&amp;gt;}INVOICE_NO))=1"}, BRAND = {'B1','B5'}, CATEGORY = {'C1','C2'}&amp;gt;} DISTINCT INVOICE_NO)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 11:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-3-Values-in-Text-Box/m-p/640354#M234664</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-05T11:32:18Z</dc:date>
    </item>
  </channel>
</rss>

