<?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: Set analysis without selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767177#M1023453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piet, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution is working fine . Could you please explain .. what this expression is doing . What does '@' means ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;BKC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2015 07:40:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-12T07:40:14Z</dc:date>
    <item>
      <title>Set analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767171#M1023441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimension is [Defect Type]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I want to show Defect Cause in textbox (Top 3) Note : Top 3 Defect Cause I am deciding based on defect count for each [Defect Type] and Defect Cause. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my [Defect Type] are (Testing, Requirement, Development etc. )&lt;/P&gt;&lt;P&gt;So for each [Defect Type] I should show three text boxes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex . for Requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Textbox1 should show 'CR-Change/Missing Requirement&lt;/P&gt;&lt;P&gt;Textbox2 should show 'NC- Not clear Requirement &lt;/P&gt;&lt;P&gt;Textbox3 should be black as I dont have third value(record)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : This should work without any selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I am clear on my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also attaching my sample application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;BKC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 14:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767171#M1023441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-09T14:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767172#M1023443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure the SET OPERATOR for [Defect Count] is also filtered for the specific Defect Count you are after or it won't work. For example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=only({&amp;lt;[Defect Type]={'Requirements'},[Defect Count]={$(=max([Defect Count]))}&amp;gt;}[Defect Cause])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=only({&amp;lt;[Defect Type]={'Requirements'},[Defect Count]={$(=max( &lt;STRONG&gt;{&amp;lt;[Defect Type]={'Requirements'}&amp;gt;}&lt;/STRONG&gt; [Defect Count]))}&amp;gt;}[Defect Cause])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 14:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767172#M1023443</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-09T14:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767173#M1023445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Max(...,1) and Max(..,2) like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Concat({&amp;lt;[Defect Count]={'$(=Max({&amp;lt;[Defect Type]={'Requirements'}&amp;gt;}[Defect Count],1))'}&amp;gt;} [Defect Cause])&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=Concat({&amp;lt;[Defect Count]={'$(=Max({&amp;lt;[Defect Type]={'Requirements'}&amp;gt;}[Defect Count],2))'}&amp;gt;} [Defect Cause])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=Concat({&amp;lt;[Defect Count]={'$(=Max({&amp;lt;[Defect Type]={'Requirements'}&amp;gt;}[Defect Count],3))'}&amp;gt;} [Defect Cause])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I've used concat as theoratically there can be records with the same (max) defect count&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 15:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767173#M1023445</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-03-09T15:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767174#M1023447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan, &lt;/P&gt;&lt;P&gt;How to find second max and third max in your approach . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex : i have defect count 10,3,6,15&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 05:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767174#M1023447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-10T05:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767175#M1023449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piet, &lt;/P&gt;&lt;P&gt;Thanks for reply . your approach is working fine till dont have same (max) defect count. &lt;/P&gt;&lt;P&gt;Is there any way to select 5,5,5 in all three max if I have 5,5,5,5,5,5 in defect count&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;BKC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 05:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767175#M1023449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-10T05:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767176#M1023451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, then I think you can use the concat function with the sort option in combination with subfield like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SubField(Concat({&amp;lt;[Defect Type]={'Requirements'}&amp;gt;} [Defect Cause],'@',1/[Defect Count]),'@',1)&lt;/P&gt;&lt;P&gt;=SubField(Concat({&amp;lt;[Defect Type]={'Requirements'}&amp;gt;} [Defect Cause],'@',1/[Defect Count]),'@',2)&lt;/P&gt;&lt;P&gt;=SubField(Concat({&amp;lt;[Defect Type]={'Requirements'}&amp;gt;} [Defect Cause],'@',1/[Defect Count]),'@',3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 12:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767176#M1023451</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-03-10T12:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767177#M1023453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piet, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution is working fine . Could you please explain .. what this expression is doing . What does '@' means ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;BKC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 07:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767177#M1023453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-12T07:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767178#M1023454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a three elements to the function Concat:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;concat(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[{set_expression}]&amp;nbsp; [ &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; ] [ &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; [&amp;lt;fld {, fld}&amp;gt;]] expression[, delimiter[, sort_weight]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;In the above example I'm concatenating a string with delimiter @ with a sort weight of 1 divided by the defect count. The @ is just chosen as a character not normally present in a string, as I need it later in the subfield function to split the string in field values again. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;The 1 divided by the defect count is for the sort weight to be descending, so the concatenated string is build up with defect causes with a greater count first&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;A class="Bold" name="subfield"&gt;&lt;/A&gt;subfield&lt;SPAN class="Bold"&gt;(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;s, 'delimiter' [ , index ] &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN class="Bold"&gt;As said the subfield function just picks the field values from the string with delimiter @ using an index&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 09:56:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767178#M1023454</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-03-12T09:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767179#M1023455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you very much Piet. Well explained. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 11:18:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767179#M1023455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-12T11:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767180#M1023456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you and you're welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 12:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767180#M1023456</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-03-12T12:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767181#M1023457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piet, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry to disturb you again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above expression is working fine in text box but when I am using same expression in listbox ... it not working. &lt;/P&gt;&lt;P&gt;Could you please help me on this . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;BKC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 10:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767181#M1023457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-13T10:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767182#M1023458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm assuming you want a listbox displaying the top 3 Defect causes for a specific type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a listbox you always select values from a field, not just some strings. The above solution results in a string and can not be used in a listbox. You can use an expression to limit the values from a field and display those in a listbox. In a listbox choose expression instead of a field and use something like&lt;/P&gt;&lt;P&gt;=Aggr(if(Rank([Defect Count])&amp;lt;4 and [Defect Type]='Requirements',[Defect Cause]),[Defect Cause])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It uses the rank function, see help and also attached example might help (see top 10 calculated listbox)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 11:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767182#M1023458</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-03-13T11:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767183#M1023459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Piet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 13:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-without-selection/m-p/767183#M1023459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-13T13:57:08Z</dc:date>
    </item>
  </channel>
</rss>

