<?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 unable to exclude common record in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69824#M771345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample to show the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2018 11:33:37 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-06-11T11:33:37Z</dc:date>
    <item>
      <title>Set Analysis unable to exclude common record</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69821#M771342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; I wanted to compare two dates value and need to show only those records which are not present in previous month last day and&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;present in current month last day i.e i wanted to exclude all common record between these two dates and put only non-matching records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have tried the below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;varibale define&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;for getting last day of current&amp;nbsp; month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;vLastDayPrevMon&lt;/SPAN&gt;=MonthEnd(AddMonths($(vFromDate), -1))&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;LastDayCurrMon&lt;/SPAN&gt;=MonthEnd($(vToDate))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Date='$(vLastDayPrevMon)' AND Date='$(vLastDayCurrMon)',ID)&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/qlik-users/171708" target="_blank"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69821#M771342</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis unable to exclude common record</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69822#M771343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the sample provided... this seems to work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg({&amp;lt;DESC = {"=Count(DISTINCT {&amp;lt;Date = {[$(=Date(Max(Date)))], [$(=Date(Floor(MonthEnd(Max(Date), -1))))]}&amp;gt;} Date) = 1"}&amp;gt;} 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 10:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69822#M771343</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-07T10:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis unable to exclude common record</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69823#M771344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny Thanks for ur help a always&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; bt still some challenges while trying to implement it with my dynamic calendar date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this exprssion in working for dynamic dates but while m trying to combine ur also its giving null values&lt;/P&gt;&lt;P&gt;=IF(Date='&amp;gt;$(=Date(vFromDate))&amp;lt;$(=Date(vToDate))',&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;ID= {"=Count(DISTINCT {&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Date&lt;/SPAN&gt;= {[$(=Date(vFromDate))], [$(=Date(Floor(MonthEnd(vToDate))))]}&amp;gt;} &lt;SPAN style="font-size: 13.3333px;"&gt;Date&lt;/SPAN&gt;) = 1"}&amp;gt;} 1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 11:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69823#M771344</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2018-06-11T11:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis unable to exclude common record</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69824#M771345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample to show the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 11:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69824#M771345</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-11T11:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis unable to exclude common record</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69825#M771346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;sorry have missed one filter if will apply then its working &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Avg({&amp;lt;ID = {"=Count(DISTINCT {&amp;lt;DATE = {[$(=Date(Floor(MonthEnd(Max({&amp;lt;ID&amp;gt;}DATE), -1))))]}&amp;gt;} DATE) + Sum(0) = 0"}&amp;gt;} 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Thank You so much &lt;A _jive_internal="true" class="jiveTT-hover-user jive-link-profile-small" data-containerid="-1" data-containertype="-1" data-objectid="171708" data-objecttype="3" href="https://community.qlik.com/people/stalwar1" style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;stalwar1&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 12:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69825#M771346</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2018-06-21T12:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis unable to exclude common record</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69826#M771347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahaha awesome and you deleted the whole post and rewarded yourself the correct response. Great going &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 12:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69826#M771347</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-21T12:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis unable to exclude common record</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69827#M771348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;m really sorry by mistakenly i selected that will rectify it now only. and have deleted that screenshot only.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 12:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69827#M771348</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2018-06-21T12:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis unable to exclude common record</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69828#M771349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ sorry&amp;nbsp; it was mistake and unintentionally&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 13:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69828#M771349</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2018-06-21T13:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis unable to exclude common record</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69829#M771350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Can u pls help me out to understand the below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Avg({&amp;lt;ID = {"=Count(DISTINCT {&amp;lt;DATE = {[$(=Date(Floor(MonthEnd(Max({&amp;lt;ID&amp;gt;}DATE), -1))))]}&amp;gt;} DATE) + Sum(0) = 0"}&amp;gt;} 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 10:48:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69829#M771350</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2018-08-03T10:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis unable to exclude common record</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69830#M771351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you not understand?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 10:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69830#M771351</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-03T10:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis unable to exclude common record</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69831#M771352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;This entire value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Count(DISTINCT {&amp;lt;DATE = {[$(=Date(Floor(MonthEnd(Max({&amp;lt;ID&amp;gt;}DATE), -1))))]}&amp;gt;} DATE) + Sum(0) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 12:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69831#M771352</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2018-08-03T12:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis unable to exclude common record</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69832#M771353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Counting DISTINCT Dates where Date = last date of the previous month.... and seems like adding Sum(0) to avoid nulls because of the set analysis on date....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 12:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-unable-to-exclude-common-record/m-p/69832#M771353</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-03T12:33:20Z</dc:date>
    </item>
  </channel>
</rss>

