<?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: Count units between weeks in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-units-between-weeks/m-p/912190#M987477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you missed out the set modifier and thats why the error.&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;UNIT.SOLD_WEEK= {"&amp;gt;=$(=Week(today())-24)&amp;lt;=$(=Week(today())-2)"} &lt;STRONG style="color: #ff6600;"&gt;&amp;gt;}&lt;/STRONG&gt;UNIT.TOTALSOLD)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2015 12:27:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-23T12:27:35Z</dc:date>
    <item>
      <title>Count units between weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Count-units-between-weeks/m-p/912187#M987473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm struggling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm trying to do is count how many units were sold between two weeks ago and 24 weeks ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;UNIT.SOLD_WEEK=&amp;nbsp;&amp;nbsp;&amp;nbsp; {"&amp;lt;=$(=$(Week(today())-2)&amp;gt;=$(=$(Week(today())-24)"} UNIT.TOTALSOLD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone point out where I'm going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 12:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-units-between-weeks/m-p/912187#M987473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-23T12:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count units between weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Count-units-between-weeks/m-p/912188#M987474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try,&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;sum({&amp;lt;UNIT.SOLD_WEEK=&amp;nbsp;&amp;nbsp;&amp;nbsp; {"&amp;lt;=$(=Week(today())-2)&amp;gt;=$(=Week(today())-24)"} &amp;gt;}UNIT.TOTALSOLD)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 12:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-units-between-weeks/m-p/912188#M987474</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-23T12:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count units between weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Count-units-between-weeks/m-p/912189#M987475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can also 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;Sum({&amp;lt;UNIT.SOLD_WEEK=&amp;nbsp;&amp;nbsp;&amp;nbsp; {"$(='&amp;lt;=' &amp;amp; (Week(Today())-2) &amp;amp; '&amp;gt;=' &amp;amp; (Week(Today())-24))"}&amp;gt;} UNIT.TOTALSOLD)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 12:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-units-between-weeks/m-p/912189#M987475</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-23T12:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Count units between weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Count-units-between-weeks/m-p/912190#M987477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you missed out the set modifier and thats why the error.&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;UNIT.SOLD_WEEK= {"&amp;gt;=$(=Week(today())-24)&amp;lt;=$(=Week(today())-2)"} &lt;STRONG style="color: #ff6600;"&gt;&amp;gt;}&lt;/STRONG&gt;UNIT.TOTALSOLD)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 12:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-units-between-weeks/m-p/912190#M987477</guid>
      <dc:creator />
      <dc:date>2015-07-23T12:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count units between weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Count-units-between-weeks/m-p/912191#M987478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will not work over year end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need a Absolute week number to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 12:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-units-between-weeks/m-p/912191#M987478</guid>
      <dc:creator>sgrice</dc:creator>
      <dc:date>2015-07-23T12:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count units between weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Count-units-between-weeks/m-p/912192#M987479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone you've all been a great help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 12:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-units-between-weeks/m-p/912192#M987479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-23T12:47:26Z</dc:date>
    </item>
  </channel>
</rss>

