<?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 AND combination in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591537#M443595</link>
    <description>Hey Felix,&lt;BR /&gt;In your demo you want to count the number of YES by the selection of the user?&lt;BR /&gt;So if i choose&lt;BR /&gt;DIM1 = 1&lt;BR /&gt;DIM2 = A&lt;BR /&gt;DIM3 = CAT1&lt;BR /&gt;&lt;BR /&gt;The expression should return 1?</description>
    <pubDate>Thu, 13 Jun 2019 11:18:06 GMT</pubDate>
    <dc:creator>gf</dc:creator>
    <dc:date>2019-06-13T11:18:06Z</dc:date>
    <item>
      <title>Set analysis AND combination</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591522#M443594</link>
      <description>&lt;P&gt;I want to count unique DIMENSION1 where there is a record that has DIMENSION2 = 'VAL 1' AND DIMENSION3 = 'VAL A' but also has a record&amp;nbsp;DIMENSION2 = 'VAL 2' AND DIMENSION3 = 'VAL B'.&lt;/P&gt;&lt;P&gt;Now normally I would attempt this in the script but in this case, I need to look at the situation dynamically (so the user can pick which value combinations are relevant).&lt;/P&gt;&lt;P&gt;Is this possible in set analysis?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 11:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591522#M443594</guid>
      <dc:creator>felix18807</dc:creator>
      <dc:date>2019-06-13T11:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis AND combination</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591537#M443595</link>
      <description>Hey Felix,&lt;BR /&gt;In your demo you want to count the number of YES by the selection of the user?&lt;BR /&gt;So if i choose&lt;BR /&gt;DIM1 = 1&lt;BR /&gt;DIM2 = A&lt;BR /&gt;DIM3 = CAT1&lt;BR /&gt;&lt;BR /&gt;The expression should return 1?</description>
      <pubDate>Thu, 13 Jun 2019 11:18:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591537#M443595</guid>
      <dc:creator>gf</dc:creator>
      <dc:date>2019-06-13T11:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis AND combination</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591539#M443596</link>
      <description>&lt;P&gt;Please try:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Count({$&amp;lt;DIMENSION2 = {'VAL 1'}, DIMENSION3 = {'VAL A'}&amp;nbsp;&amp;gt; + &amp;lt;&amp;nbsp;DIMENSION2 ={'VAL 2'} ,DIMENSION3 ={'VAL B'}&amp;gt;} DIMENSION1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 11:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591539#M443596</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-06-13T11:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis AND combination</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591540#M443597</link>
      <description>if you want to count the YES depending on the user's selection try this one:&lt;BR /&gt;=COUNT({&amp;lt;DIM1={'$(=GetFieldSelections(DIM1))'} ,DIM2={'$(=GetFieldSelections(DIM2))'} , DIM3={'$(=GetFieldSelections(DIM3))'} &amp;gt;} IF(COUNTME='YES', COUNTME))</description>
      <pubDate>Thu, 13 Jun 2019 11:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591540#M443597</guid>
      <dc:creator>gf</dc:creator>
      <dc:date>2019-06-13T11:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis AND combination</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591541#M443598</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count({$&amp;lt;DIM1 = P({&amp;lt;DIM2 = {'C'}, DIM3 = {'CAT5'}&amp;gt;})*P({&amp;lt;DIM2 ={'A'}, DIM3 = {'CAT1'}&amp;gt;})&amp;gt;} DISTINCT DIM1)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 13 Jun 2019 11:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591541#M443598</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-13T11:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis AND combination</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591567#M443599</link>
      <description>&lt;P&gt;Hi Gf,&lt;BR /&gt;Sorry my ability to articulate the problem isn't great and I believe that what you have set out here would work if I had the ability to do the COUNTME field but I only included that in the demo file to show the relevant lines. I can't do this in the real example.&lt;/P&gt;&lt;P&gt;Some context might help - we're looking at a bunch of students that have achieved grades A-E by months. I'm trying to create a visualisation that shows how many students that were achieving grade Bs in May 2019 and getting As in Jun 2019 based on selection:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Visualisation.png" style="width: 407px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13710i61E89FED49B5AA7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Visualisation.png" alt="Visualisation.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 12:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591567#M443599</guid>
      <dc:creator>felix18807</dc:creator>
      <dc:date>2019-06-13T12:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis AND combination</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591573#M443600</link>
      <description>This seems to work.. That is some fantastic set analysis witchcraft. I'll look up the P() and what that is up to.&lt;BR /&gt;&lt;BR /&gt;Thank you sir.</description>
      <pubDate>Thu, 13 Jun 2019 12:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-AND-combination/m-p/1591573#M443600</guid>
      <dc:creator>felix18807</dc:creator>
      <dc:date>2019-06-13T12:03:01Z</dc:date>
    </item>
  </channel>
</rss>

