<?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: Tricky questions about set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Tricky-questions-about-set-analysis/m-p/336900#M573372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for the comments. But my situation is that I have to capture all the values in table B, by default.&lt;/P&gt;&lt;P&gt;The set analysis actually will drop the unique ones in table B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2012 20:01:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-05T20:01:10Z</dc:date>
    <item>
      <title>Tricky questions about set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-questions-about-set-analysis/m-p/336898#M573370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have loaded two tables, Table A &amp;amp; Table B. (Table A &amp;amp; B are not directly linked)&lt;/P&gt;&lt;P&gt;In table A, there are columns A1, A2, A_Year&lt;/P&gt;&lt;P&gt;In table B, there are columns B1, B2, B3, B_Year&lt;/P&gt;&lt;P&gt;And then I have one sheet, where I have added a multi box, with fields A1 &amp;amp; A2.&lt;/P&gt;&lt;P&gt;Then I created a bar chart, using A_Year as dimension, and in the expression field, I used set analysis to check whether B1=P(A1) and B2=P(A2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax is like this: count({&amp;lt;B1= P([A1]), B2= P([A2])&amp;gt;} B3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tricky part for me is that B1 has more values than A1, and B2 has more values than A2. So with the above expression, the overall count of B table is not correct. Is there anyway to capture all the rows in B, instead of dropping the unique values in table B?&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, 05 Jul 2012 19:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-questions-about-set-analysis/m-p/336898#M573370</guid>
      <dc:creator />
      <dc:date>2012-07-05T19:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky questions about set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-questions-about-set-analysis/m-p/336899#M573371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the parameter P() demands a selection. If you choose some values on field A1, it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you limit the field A1 with set analysis, it will work too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 19:57:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-questions-about-set-analysis/m-p/336899#M573371</guid>
      <dc:creator />
      <dc:date>2012-07-05T19:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky questions about set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-questions-about-set-analysis/m-p/336900#M573372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for the comments. But my situation is that I have to capture all the values in table B, by default.&lt;/P&gt;&lt;P&gt;The set analysis actually will drop the unique ones in table B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 20:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-questions-about-set-analysis/m-p/336900#M573372</guid>
      <dc:creator />
      <dc:date>2012-07-05T20:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky questions about set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-questions-about-set-analysis/m-p/336901#M573373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have made some more tests and it worked fine, with no selection. Sorry, my mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not figure why you want to count a B column having a dimension A. It would be a cartesian product in SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shouldn´t the dimension be B_year?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Qlikview apart, what do you want to accomplish with the BI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 20:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-questions-about-set-analysis/m-p/336901#M573373</guid>
      <dc:creator />
      <dc:date>2012-07-05T20:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky questions about set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-questions-about-set-analysis/m-p/336902#M573374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to calculate %, using count(A)/Count(B). But the issue is that I have to calculate the overall percentage even the values are only unique in table B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to do this way in SQL or using outer join in QlikView, because the performance issue (I think those methods will slow down my program).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 20:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-questions-about-set-analysis/m-p/336902#M573374</guid>
      <dc:creator />
      <dc:date>2012-07-05T20:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky questions about set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-questions-about-set-analysis/m-p/336903#M573375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this feasible? Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 22:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-questions-about-set-analysis/m-p/336903#M573375</guid>
      <dc:creator />
      <dc:date>2012-07-05T22:21:50Z</dc:date>
    </item>
  </channel>
</rss>

