<?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: Stuck in set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847863#M1000979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&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; font-size: 13px;"&gt;&lt;STRONG&gt;=Count(DISTINCT {&amp;lt;month_year={"$(='&amp;gt;' &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MonthName(YearStart(Today()-1,0,4)))&lt;/SPAN&gt;"}&amp;gt;} D_SI_NO)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2015 12:53:04 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-06-08T12:53:04Z</dc:date>
    <item>
      <title>Stuck in set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847862#M1000978</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;&lt;/P&gt;&lt;P&gt;I am using below expression in my formats...but i am not getting any results by using the same expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(DISTINCT {&amp;lt; month_year={"&amp;gt;$(=vStart_Month)"}&amp;gt;} D_SI_NO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i remove the greater_than sign (&amp;gt;) from expression then it is work ...once i attribute (&amp;gt;) symbol with expression its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;month_year is field contains value like ....Apr 2015, May 2015 ,,,Jun 2015 etc. and i&amp;nbsp; want to calculate for specific periods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vStart_Month == is variable contans this...... MonthName(YearStart(Today()-1,0,4)) ............expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know where i am doing wrong ...can anybody suggest me what should i have to do .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sarfaraz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 12:50:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847862#M1000978</guid>
      <dc:creator>sarfaraz_sheikh</dc:creator>
      <dc:date>2015-06-08T12:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847863#M1000979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&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; font-size: 13px;"&gt;&lt;STRONG&gt;=Count(DISTINCT {&amp;lt;month_year={"$(='&amp;gt;' &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MonthName(YearStart(Today()-1,0,4)))&lt;/SPAN&gt;"}&amp;gt;} D_SI_NO)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 12:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847863#M1000979</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-08T12:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847864#M1000980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey its not working........I have tried...can you please suggest another option ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sarfaraz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 13:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847864#M1000980</guid>
      <dc:creator>sarfaraz_sheikh</dc:creator>
      <dc:date>2015-06-08T13:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847865#M1000981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have your verified that you are getting what you expect in vStart_Month?&lt;/P&gt;&lt;P&gt;If the month_year field also a dual value like &lt;SPAN style="font-size: 13.3333330154419px;"&gt;vStart_Month?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strictly speaking DISTINCT should come after the set expression, although it &lt;EM&gt;currently&lt;/EM&gt; works it is before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 13:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847865#M1000981</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-06-08T13:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847866#M1000982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like &lt;A _jive_internal="true" href="https://community.qlik.com/people/jontydkpi"&gt;jonathan dienst&lt;/A&gt; suggested, I would check if month_year is a date field or text field? If it is text, the above formula won't work (but when you mentioned that the without &amp;gt; it was working, it made me assume that month_year is a date field). Is there anyway you can post a reduced version of your document? or may be a sample?&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>Mon, 08 Jun 2015 13:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847866#M1000982</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-08T13:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847867#M1000983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i have verified i am getting as expected value in vStart_Month variable which is "Apr 2015" ....and i want to calculate the count which are greater that apr 2015 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use DISTICT after an expression ....but these also did not work ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest any example here for my understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sarfaraz &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 13:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847867#M1000983</guid>
      <dc:creator>sarfaraz_sheikh</dc:creator>
      <dc:date>2015-06-08T13:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847868#M1000984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using version 11 and month_year is date field......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sarfaarz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 13:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847868#M1000984</guid>
      <dc:creator>sarfaraz_sheikh</dc:creator>
      <dc:date>2015-06-08T13:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847869#M1000985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this in a text box (&lt;STRONG&gt;='&amp;gt;' &amp;amp; MonthName(YearStart(Today()-1,0,4))&lt;/STRONG&gt;) gives me &lt;STRONG&gt;&amp;gt;Apr 2015&lt;/STRONG&gt;. So you are trying to count everything from May 2015 onwards. Is that correct? If you want to include Apr 2015 you need to change your expression to&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;=Count(DISTINCT {&amp;lt;month_year={"$(='&amp;gt;&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;' &amp;amp; &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;MonthName(YearStart(Today()-1,0,4)))&lt;/SPAN&gt;"}&amp;gt;} D_SI_NO)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 13:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847869#M1000985</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-08T13:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847870#M1000986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarfaraz, I usually avoid using fields with month names on set analisys when they will be compared using '&amp;gt;' or '&amp;lt;', instead use a field in numeric format or a date wich has a number format for month, ie: DD/MM/YYYY, YY-DD-MM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 13:21:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847870#M1000986</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-06-08T13:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847871#M1000987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you keep any example here for my understanding so that would be more helpful for me ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sarfaraz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 13:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847871#M1000987</guid>
      <dc:creator>sarfaraz_sheikh</dc:creator>
      <dc:date>2015-06-08T13:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847872#M1000988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, just create another field in your calendar with year-Month as number, or as a date, ie:&lt;/P&gt;&lt;P&gt;Year(Date) &amp;amp; Num(Month(Date), '00') as YearMonthNum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use:&lt;/P&gt;&lt;P&gt;count(DISTINCT {&amp;lt;YearMonthNum={"&amp;gt;$(vStart_YearMonth)"}, Month&amp;gt;} D_SI_NO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vStart_YearMonth: =Min(YearMonthNum)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also can be done loading Year-Month as date:&lt;/P&gt;&lt;P&gt;MonthStart(Date) as YearMonthDate // This will allow you to use date functions like AddMonths()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 14:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847872#M1000988</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-06-08T14:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck in set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847873#M1000989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnaks Ruben ...your solution is&amp;nbsp; working as expected ....Tnaks a lot &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sarfaraz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 14:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-in-set-Analysis/m-p/847873#M1000989</guid>
      <dc:creator>sarfaraz_sheikh</dc:creator>
      <dc:date>2015-06-08T14:19:04Z</dc:date>
    </item>
  </channel>
</rss>

