<?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: Less than variable in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731819#M262095</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;Can you post sample to look over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Oct 2014 16:45:41 GMT</pubDate>
    <dc:creator>ashfaq_haseeb</dc:creator>
    <dc:date>2014-10-31T16:45:41Z</dc:date>
    <item>
      <title>Less than variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731810#M262086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a problem in my set analysis, when trying to get all values prior to a period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works to include all values within this period:&lt;/P&gt;&lt;P&gt;count( {$&amp;lt;ÅrVecka={'$(vPreviousWeekYear)'}&amp;gt;}&amp;nbsp; distinct CustomerPortLabel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this returns zero:&lt;/P&gt;&lt;P&gt;count( {$&amp;lt;ÅrVecka = {'&amp;lt;= ${=vPreviousWeek}'}&amp;gt;} distinct CustomerPortLabel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 11:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731810#M262086</guid>
      <dc:creator>annabergendal</dc:creator>
      <dc:date>2014-10-30T11:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Less than variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731811#M262087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if it's a typo, try:&lt;/P&gt;&lt;P&gt;count( {$&amp;lt;ÅrVecka = {'&amp;lt;= $&lt;STRONG&gt;(&lt;/STRONG&gt;=vPreviousWeek&lt;STRONG&gt;)&lt;/STRONG&gt;'}&amp;gt;} distinct CustomerPortLabel)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 11:44:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731811#M262087</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-10-30T11:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Less than variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731812#M262088</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;Try like 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;"&gt;count( {$&amp;lt;ÅrVecka = {'&amp;lt;= ${=vPreviousWeek}'}&amp;gt;} distinct CustomerPortLabel)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count( {$&amp;lt;ÅrVecka = {"&amp;lt;= ${=vPreviousWeek}"}&amp;gt;} distinct CustomerPortLabel)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ASHFAQ&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 11:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731812#M262088</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-30T11:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Less than variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731813#M262089</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;The expression that works uses &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vPreviousWeek&lt;STRONG&gt;Year&lt;/STRONG&gt;; the one that does not uses &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vPreviousWee&lt;/SPAN&gt;k.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jonathan &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 11:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731813#M262089</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-10-30T11:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Less than variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731814#M262090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count( {$&amp;lt;ÅrVecka = {'&amp;lt;= $(vPreviousWeek)'} &amp;gt;} distinct CustomerPortLabel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should only need $(variablename) to evaluate the variable, not $(= variablename)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 11:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731814#M262090</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-10-30T11:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Less than variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731815#M262091</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;Just remove { } and place the variable in ( )&lt;/P&gt;&lt;P&gt;count( {$&amp;lt;ÅrVecka = {'&amp;lt;= $(=vPreviousWeek)'}&amp;gt;} distinct CustomerPortLabel)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 11:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731815#M262091</guid>
      <dc:creator />
      <dc:date>2014-10-30T11:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Less than variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731816#M262092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the definition of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vPreviousWeek or you use wrong brackets like { } this remove it with ( ) for variable only&lt;/SPAN&gt;&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;Count( {$&amp;lt;ÅrVecka = {'&amp;lt;= $( =vPreviousWeek )'}&amp;gt;} distinct CustomerPortLabel)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Count( {$&amp;lt;ÅrVecka = {"&amp;lt;= $( =vPreviousWeek )"}&amp;gt;} distinct CustomerPortLabel)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Count( {$&amp;lt;ÅrVecka = {'&amp;lt;= $( =Week(Today())-1 ) '}&amp;gt;} distinct CustomerPortLabel)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Anand&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 11:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731816#M262092</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-30T11:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Less than variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731817#M262093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right, I misspelled it, but they are both spelled &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vPreviousWeek&lt;/SPAN&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year&lt;/STRONG&gt; in the app &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 16:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731817#M262093</guid>
      <dc:creator>annabergendal</dc:creator>
      <dc:date>2014-10-31T16:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Less than variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731818#M262094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the advices, but none of these worked. I ended up using another syntax in the end with Date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count( {$&amp;lt;Datum={"&amp;lt;$(=Date(weekstart($(vToday)),'YYYY-MM-DD'))"}&amp;gt;}&amp;nbsp; distinct CustomerPortLabel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't ask me why this worked and the others did not... Some kind of syntax problem with the variable &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vPreviousWeek&lt;/SPAN&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year&lt;/STRONG&gt; I guess, even though the other comparison worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 16:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731818#M262094</guid>
      <dc:creator>annabergendal</dc:creator>
      <dc:date>2014-10-31T16:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Less than variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731819#M262095</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;Can you post sample to look over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 16:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Less-than-variable-in-set-analysis/m-p/731819#M262095</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-31T16:45:41Z</dc:date>
    </item>
  </channel>
</rss>

