<?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: Complex Set Analysis Question Please.... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301470#M405552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies, this should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jun 2017 15:35:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-29T15:35:54Z</dc:date>
    <item>
      <title>Complex Set Analysis Question Please....</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301464#M405546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really struggling with a set analysis requirement and any feedback would be much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a filter pane in Qlik Sense named 'ISBN'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using the following set analysis expression to return ISBNs with the same possible values attributed to a selected ISBN from the filter pane.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt; ISBN = {*},Genre = p(Genre), [Binding Desc] = p([Binding Desc]),[Series Flag] = p([Series Flag]) &amp;gt;}[Total Sales]) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is to be able to select multiple ISBN's, and return 10 similar ISBNs to each ISBN selected with the same possible values attributed to the ISBN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calculation works when selecting one ISBN and limiting the dimension to getselectedcount(ISBN)*10&lt;/P&gt;&lt;P&gt;When I select two, I have 20 results, but based on the possible values of both selected ISBN's combined, not each separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Carmelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 14:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301464#M405546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T14:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Set Analysis Question Please....</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301465#M405547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 14:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301465#M405547</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-29T14:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Set Analysis Question Please....</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301466#M405548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help at all would be much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 15:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301466#M405548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T15:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Set Analysis Question Please....</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301467#M405549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unable to open the file you have attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 15:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301467#M405549</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-29T15:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Set Analysis Question Please....</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301468#M405550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you open this application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 15:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301468#M405550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T15:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Set Analysis Question Please....</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301469#M405551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, what you are attaching doesn't even have .qvw extension. Not even sure what these files are. I tried to add .qvw at the end and open them, but it won't open&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 15:33:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301469#M405551</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-29T15:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Set Analysis Question Please....</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301470#M405552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies, this should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 15:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301470#M405552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T15:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Set Analysis Question Please....</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301471#M405553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So here is the thing... I have it working when there is only Binding Desc difference between the two ISBN you select.... Individually I can fix all of them. But to make this more dynamic, create a field in the script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data_Temp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ISBN,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LanguageCD,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Author",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Publisher,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Pub Date",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Binding Desc",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Series Flag",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales as [Total Sales],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Literal,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Literal1 AS Genre,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Literal1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Literal2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Literal3,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Literal4,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;AutoNumber(Literal1&amp;amp;Literal2&amp;amp;Literal3&amp;amp;"Binding Desc"&amp;amp;"Series Flag") as Key&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM [lib://Data Source (qlik-sense_administrator)/data_temp.qvd]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use this expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Only({1}Aggr(Rank(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum({$&amp;lt;ISBN = {*},Literal1 = ($(vBISAC1_Match)),[Series Flag] = ($(vSeriesFlag_Match)), [Binding Desc] = ($(vBinding_Match)) &amp;gt;}[Total Sales]) &amp;gt; 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({$&amp;lt;ISBN = {*},Literal1 = ($(vBISAC1_Match)),[Series Flag] = ($(vSeriesFlag_Match)), [Binding Desc] = ($(vBinding_Match))&amp;gt;} ISBN))), &lt;SPAN style="color: #ff0000;"&gt;Key&lt;/SPAN&gt;, ISBN)) &amp;lt;11,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;ISBN = {*},Literal1 = ($(vBISAC1_Match)),[Series Flag] = ($(vSeriesFlag_Match)), [Binding Desc] = ($(vBinding_Match)) &amp;gt;}[Total Sales]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And make sure to remove the dimension limits from the ISBN dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 16:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301471#M405553</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-29T16:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Set Analysis Question Please....</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301472#M405554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for this! Exactly what I needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 08:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301472#M405554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T08:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Set Analysis Question Please....</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301473#M405555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 11:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-Set-Analysis-Question-Please/m-p/1301473#M405555</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-30T11:18:51Z</dc:date>
    </item>
  </channel>
</rss>

