<?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: Filtered Left Join with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851162#M993351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure which approach you are using. With Calculated Dimension you can do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(IsNull(Username) and Format = 'Cognos' and&amp;nbsp; Status = 'Active', Title)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;With Set Analysis you can try this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;Title=e({&amp;lt;Username={'*?'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&amp;gt; * &amp;lt;Format = {'Cognos'}&amp;gt; * &amp;lt;Status = {'Active'}&amp;gt;}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2015 13:41:55 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-07-10T13:41:55Z</dc:date>
    <item>
      <title>Filtered Left Join with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851157#M993343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables from separate QVDs auto joined in my presentation layer on a common 'Title' field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1:&lt;/P&gt;&lt;P&gt;Title&lt;/P&gt;&lt;P&gt;Format&lt;/P&gt;&lt;P&gt;Status&lt;/P&gt;&lt;P&gt;...other fields...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2:&lt;/P&gt;&lt;P&gt;Title&lt;/P&gt;&lt;P&gt;Username&lt;/P&gt;&lt;P&gt;Sessions&lt;/P&gt;&lt;P&gt;...other fields...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1 contains all of the records and Table 2 contains a subset of the records. I'm trying to get a set analysis expression for a chart straight table that will show all of the rows from Table 1 that do not have a corresponding record in Table 2. Since none of the records in Table 1 have a Username field, I thought something like this might work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1-$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Username&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Title&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;However, I'm still only getting the records that are in both tables. I'd also like to only get the records with a Format="Cognos" and Status="Active"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 12:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851157#M993343</guid>
      <dc:creator>lbunnell</dc:creator>
      <dc:date>2015-07-10T12:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Filtered Left Join with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851158#M993344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this with a calculated dimension, may be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(IsNull(Username), Title) &lt;/STRONG&gt; and check the option 'Suppress When Value Is Null' on dimension tabs under properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching a sample to look at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92512_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 13:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851158#M993344</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-10T13:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filtered Left Join with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851159#M993345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Count( {$&amp;lt;Title=E({1&amp;lt;Username={"*"}&amp;gt;} &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Title &lt;/SPAN&gt;)&amp;gt;} distinct Title )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words: The E() function will return the set of Titles that are excluded if you select all Usernames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 13:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851159#M993345</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-07-10T13:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Filtered Left Join with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851160#M993346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or if you want to use set analysis, you can try to use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92513_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 13:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851160#M993346</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-10T13:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Filtered Left Join with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851161#M993349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that seems to do it! Now how to solve for Format=Cognos and Status=Active?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 13:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851161#M993349</guid>
      <dc:creator>lbunnell</dc:creator>
      <dc:date>2015-07-10T13:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filtered Left Join with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851162#M993351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure which approach you are using. With Calculated Dimension you can do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(IsNull(Username) and Format = 'Cognos' and&amp;nbsp; Status = 'Active', Title)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;With Set Analysis you can try this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;Title=e({&amp;lt;Username={'*?'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&amp;gt; * &amp;lt;Format = {'Cognos'}&amp;gt; * &amp;lt;Status = {'Active'}&amp;gt;}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 13:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851162#M993351</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-10T13:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Filtered Left Join with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851163#M993354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The set analysis version works. Not sure why expression wouldn't work, but perhaps the field may have some value other than null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 14:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851163#M993354</guid>
      <dc:creator>lbunnell</dc:creator>
      <dc:date>2015-07-10T14:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filtered Left Join with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851164#M993356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first one should have worked also, but I am glad that the set analysis option worked out for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 14:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtered-Left-Join-with-Set-Analysis/m-p/851164#M993356</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-10T14:46:24Z</dc:date>
    </item>
  </channel>
</rss>

