<?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 Week number in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Week-number/m-p/133107#M760088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;Good afternoon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;I'm doing a data classification and I have to compare the sales of the current week and the sales of the previous week, but when doing the classification the system only brings me the current week that is the 35th week. I would like to know if there is a formula in which can bring me the week before, now this is the formula that you make in the Set Analysis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;Sum ({&amp;lt;business_line - = {'00'}, Canal_Distri = {'WAREHOUSE SALE'}, year = {$ (= year (today (0)))}, month = {$ (= month (today (0) ))}&amp;gt;} amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;thanks for your help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Week number</title>
      <link>https://community.qlik.com/t5/QlikView/Week-number/m-p/133107#M760088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;Good afternoon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;I'm doing a data classification and I have to compare the sales of the current week and the sales of the previous week, but when doing the classification the system only brings me the current week that is the 35th week. I would like to know if there is a formula in which can bring me the week before, now this is the formula that you make in the Set Analysis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;Sum ({&amp;lt;business_line - = {'00'}, Canal_Distri = {'WAREHOUSE SALE'}, year = {$ (= year (today (0)))}, month = {$ (= month (today (0) ))}&amp;gt;} amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;thanks for your help&lt;/SPAN&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/Week-number/m-p/133107#M760088</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Week number</title>
      <link>https://community.qlik.com/t5/QlikView/Week-number/m-p/133108#M760089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The formula that you have should return the sales of the current month (not sure how you are getting the only 1 week sales).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum ({&amp;lt;business_line - = {'00'}, Canal_Distri = {'WAREHOUSE SALE'},year={$(=year(today()))} Week={$(=week(today()))} amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Previous:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum ({&amp;lt;business_line - = {'00'}, Canal_Distri = {'WAREHOUSE SALE'},year={$(=year(today()))}, Week={$(=Week (today ())-1)} amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;P.S. - Assuming that you have week field in your data model.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 17:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-number/m-p/133108#M760089</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-08-29T17:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Week number</title>
      <link>https://community.qlik.com/t5/QlikView/Week-number/m-p/133109#M760090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alvaro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Field Week in your data with Week(&amp;lt;Your Date Field&amp;gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and add below text in your epression. This will give you previous week Sum of Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: black;"&gt;Sum ({&amp;lt;business_line - = {'00'}, Canal_Distri = {'WAREHOUSE SALE'}, year = {$ (= year (today (0)))}, month = {$ (= month (today (0) ))}, &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Week = {$ (= Week (today (0))-1)}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;} amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this is what you are looking for. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akshaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 17:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-number/m-p/133109#M760090</guid>
      <dc:creator>adityaakshaya</dc:creator>
      <dc:date>2018-08-29T17:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Week number</title>
      <link>https://community.qlik.com/t5/QlikView/Week-number/m-p/133110#M760091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Good afternoon &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;thanks for your help, I have solved the problem, I make the mesh the calculation of the weeks of the year 2018 and then in the analysis set I make the formula.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum ({&amp;lt;business_line - = {'00'}, Canal_Distri = {'WAREHOUSE SALE'}, year = {$ (= year (today (0)))}, Week = {$ (= Week (today (0))-1)}&amp;gt;} amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 17:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-number/m-p/133110#M760091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-29T17:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Week number</title>
      <link>https://community.qlik.com/t5/QlikView/Week-number/m-p/133111#M760092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad its worked out. Can you please close the thread now. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 17:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-number/m-p/133111#M760092</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-08-29T17:47:10Z</dc:date>
    </item>
  </channel>
</rss>

