<?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 - union in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-union/m-p/276951#M1191436</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;If you mean you want to see those values that match both set modifiers, I'd try the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;(only({&amp;lt;[StartDate] = {"&amp;lt;=$(vStartDate)"} &amp;gt;} [bkgno]) * only({&amp;lt; [EndDate] = {"&amp;gt;=$(vStartDate)"} &amp;gt;} [bkgno])) &amp;amp;&lt;/P&gt;&lt;P&gt;(only({&amp;lt;[StartDate] = {"&amp;lt;=$(vEndDate)"} &amp;gt;} [bkgno]) * only({&amp;lt; [EndDate] = {"&amp;gt;=$(vEndDate)"} &amp;gt;} [bkgno]))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the "&amp;amp;" instead of the "+" to concatenate. Anyway it would be very helpful if you upload some sample data to see what you want to get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jul 2011 11:07:47 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-07-13T11:07:47Z</dc:date>
    <item>
      <title>set analysis - union</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-union/m-p/276950#M1191435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both the below expressions are working for me while trying to filter some records in a straight table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only({&amp;lt;[StartDate]={"&amp;lt;=$(vStartDate)"}&amp;gt;}[bkgno]) * only({&amp;lt;[EndDate]={"&amp;gt;=$(vStartDate)"}&amp;gt;}[bkgno])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only({&amp;lt;[StartDate]={"&amp;lt;=$(vEndDate)"}&amp;gt;}[bkgno]) * only({&amp;lt;[EndDate]={"&amp;gt;=$(vEndDate)"}&amp;gt;}[bkgno])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to concatenate the results obtained through these two expression. I tried &lt;/P&gt;&lt;P&gt;(only({&amp;lt;[StartDate]={"&amp;lt;=$(vStartDate)"}&amp;gt;}[bkgno]) * only({&amp;lt;[EndDate]={"&amp;gt;=$(vStartDate)"}&amp;gt;}[bkgno])) +&lt;/P&gt;&lt;P&gt;(only({&amp;lt;[StartDate]={"&amp;lt;=$(vEndDate)"}&amp;gt;}[bkgno]) * only({&amp;lt;[EndDate]={"&amp;gt;=$(vEndDate)"}&amp;gt;}[bkgno]))&lt;/P&gt;&lt;P&gt;but it is not working, I am not getting results as expected. &lt;/P&gt;&lt;P&gt;Records with StartDate &amp;gt; vStartDate and those with EndDate &amp;lt; vEndDate is not getting displayed after using the union operator.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to go forward for getting union of the above two separate results ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 10:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-union/m-p/276950#M1191435</guid>
      <dc:creator />
      <dc:date>2011-07-13T10:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis - union</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-union/m-p/276951#M1191436</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;If you mean you want to see those values that match both set modifiers, I'd try the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;(only({&amp;lt;[StartDate] = {"&amp;lt;=$(vStartDate)"} &amp;gt;} [bkgno]) * only({&amp;lt; [EndDate] = {"&amp;gt;=$(vStartDate)"} &amp;gt;} [bkgno])) &amp;amp;&lt;/P&gt;&lt;P&gt;(only({&amp;lt;[StartDate] = {"&amp;lt;=$(vEndDate)"} &amp;gt;} [bkgno]) * only({&amp;lt; [EndDate] = {"&amp;gt;=$(vEndDate)"} &amp;gt;} [bkgno]))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the "&amp;amp;" instead of the "+" to concatenate. Anyway it would be very helpful if you upload some sample data to see what you want to get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 11:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-union/m-p/276951#M1191436</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-07-13T11:07:47Z</dc:date>
    </item>
  </channel>
</rss>

