<?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 Need Help on Set Analysis- date comparison without using variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507280#M189711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I need your help in Set Analysis, as mention below m using the expression to calculate member count on the basis of date comparison, the syntax which i am using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="exps.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/50668_exps.jpg" /&gt;&lt;/P&gt;&lt;P&gt;this expression is working fine if i select single month, but not working when i use month as a dimension as when i use month as dimension above mention "monthend or monthstart" expression takes only one value i.e. for jan start &amp;amp; end date. Because of this in my output reports it gives the value for jan in all rest of the month as mention below &amp;amp; highlighted in red, the value 128 is for jan only but its coming in all month:&lt;IMG alt="exps.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/50667_exps.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Dec 2013 11:42:13 GMT</pubDate>
    <dc:creator>neetu_singh</dc:creator>
    <dc:date>2013-12-19T11:42:13Z</dc:date>
    <item>
      <title>Need Help on Set Analysis- date comparison without using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507280#M189711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I need your help in Set Analysis, as mention below m using the expression to calculate member count on the basis of date comparison, the syntax which i am using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="exps.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/50668_exps.jpg" /&gt;&lt;/P&gt;&lt;P&gt;this expression is working fine if i select single month, but not working when i use month as a dimension as when i use month as dimension above mention "monthend or monthstart" expression takes only one value i.e. for jan start &amp;amp; end date. Because of this in my output reports it gives the value for jan in all rest of the month as mention below &amp;amp; highlighted in red, the value 128 is for jan only but its coming in all month:&lt;IMG alt="exps.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/50667_exps.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 11:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507280#M189711</guid>
      <dc:creator>neetu_singh</dc:creator>
      <dc:date>2013-12-19T11:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Set Analysis- date comparison without using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507281#M189712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try pls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count( Aggr( formula , Dimension)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where dimensions will be Months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 11:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507281#M189712</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2013-12-19T11:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Set Analysis- date comparison without using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507282#M189713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try same expression by using '1' instead of '$' ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 11:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507282#M189713</guid>
      <dc:creator>sanketkhunte</dc:creator>
      <dc:date>2013-12-19T11:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Set Analysis- date comparison without using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507283#M189714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count ( &amp;lt;Your set analysis&amp;gt; Distinct &lt;STRONG&gt;Total &amp;lt;MonthField&amp;gt;&lt;/STRONG&gt; MEM_USERID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 12:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507283#M189714</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-19T12:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Set Analysis- date comparison without using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507284#M189715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Total &amp;lt;MonthField&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 12:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507284#M189715</guid>
      <dc:creator>neetu_singh</dc:creator>
      <dc:date>2013-12-19T12:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Need Help on Set Analysis- date comparison without using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507285#M189716</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;BR /&gt;Total &amp;lt;MonthField&amp;gt; would disregard your month dimension which is there in your chart. For better understanding, have a look at the attached sample. Hope that helps you understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 12:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507285#M189716</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-19T12:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Set Analysis- date comparison without using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507286#M189717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="exps.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/50673_exps.jpg" /&gt;&lt;/P&gt;&lt;P&gt;This doesnt work, Please chk &amp;amp; let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 12:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507286#M189717</guid>
      <dc:creator>neetu_singh</dc:creator>
      <dc:date>2013-12-19T12:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Need Help on Set Analysis- date comparison without using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507287#M189718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another point just noticed.&lt;/P&gt;&lt;P&gt;While you are using min()/max() functions, the similar set analysis has to be included there too, I guess. Could you please share example app with sample data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 12:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507287#M189718</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-19T12:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Set Analysis- date comparison without using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507288#M189719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use the " instead of ' when using set analysis with &amp;gt;=&amp;lt; sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example you should write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENG_ACTDATE={"&amp;gt;=$(=MonthStart(Min(COMMON_DATE)))"}&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;ENG_ACTDATE={'&amp;gt;=$(=MonthStart(Min(COMMON_DATE)))'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this to solve your problem. If this doesn't I will check the rest of the formula.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 12:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507288#M189719</guid>
      <dc:creator>shadoworth</dc:creator>
      <dc:date>2013-12-19T12:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Need Help on Set Analysis- date comparison without using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507289#M189720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find the attached sample data with qvw. in a straight table there are two expression one is with Set Analysis &amp;amp; second one is with If Condition the output using if condition is correct and i want the same with set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 15:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507289#M189720</guid>
      <dc:creator>neetu_singh</dc:creator>
      <dc:date>2013-12-19T15:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Need Help on Set Analysis- date comparison without using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507290#M189721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked your example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First there some error in syntax. The correct expression for the set analys is of your example is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT({$&amp;lt;ACTDATE={"&amp;gt;=$(=MONTHSTART(MIN([COMMON DATE])))&amp;lt;=$(=MONTHEND(MIN([COMMON DATE])))"},STARTDATE={"&amp;lt;$(=MONTHEND(MIN([COMMON DATE])))"},&lt;/P&gt;&lt;P&gt;COMPLETEDATE={"&amp;gt;$(=MONTHEND(MIN([COMMON DATE])))"}&amp;gt;}DISTINCT USER)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where I changed ' in " and COMMON_DATE in [COMMON DATE]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover there is a logical issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expressions computed inside the set analysis (such as your $(=MONTHSTART(MIN([COMMON DATE]))) ) are performed by QLIK regardeless to the row of the table.&lt;/P&gt;&lt;P&gt;Hence for example $(=MONTHSTART(MIN([COMMON DATE])) is always valued as 1/1/2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure that this is what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 16:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507290#M189721</guid>
      <dc:creator>shadoworth</dc:creator>
      <dc:date>2013-12-19T16:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Set Analysis- date comparison without using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507291#M189722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thats my issue that its working on selection but i want wrt the row of the table not with selection of month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 16:31:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507291#M189722</guid>
      <dc:creator>neetu_singh</dc:creator>
      <dc:date>2013-12-19T16:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Set Analysis- date comparison without using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507292#M189723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neetu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it's clear to me what you are trying for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set analysis expression is executed ONCE for AN OBJECT, i.e. not row wise. That means for your case min/max values for date would be same(max/min of all months) for all the months rather than monthly min/max values. Hence you would not get the result similar to that of IF expression. Therefore, it's safe to say that, for such scenarios IF expression is &lt;STRONG&gt;the solution&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA, you would find what i mean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 18:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Set-Analysis-date-comparison-without-using-variable/m-p/507292#M189723</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-19T18:10:58Z</dc:date>
    </item>
  </channel>
</rss>

