<?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: current 4 weeks and Previous 4 weeks Data calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/current-4-weeks-and-Previous-4-weeks-Data-calculation/m-p/1800337#M1211625</link>
    <description>&lt;P&gt;hii,&lt;/P&gt;&lt;P&gt;what i get from your post is, you want to compare those 2 values right?&lt;/P&gt;&lt;P&gt;if you compare it as single value vs single value (KPIvsKPI), you can use set analysis to make this calculation , for example :&lt;/P&gt;&lt;P&gt;sum({&amp;lt;dateField = {"&amp;gt;=08/03/2021&amp;lt;=05/04/2021"}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;you can adjust date value in that expression using variable, for example :&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;dateField = {"&amp;gt;=$(vstart4Currw)&amp;lt;=$(vend4Currw)"}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but, if you want to show that comparison in (let say) Line chart ,&amp;nbsp; you need to transform some of the data to adjust the dimension to fulfill the requirement of that chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope this help&lt;/P&gt;</description>
    <pubDate>Mon, 19 Apr 2021 04:25:23 GMT</pubDate>
    <dc:creator>andykrst</dc:creator>
    <dc:date>2021-04-19T04:25:23Z</dc:date>
    <item>
      <title>current 4 weeks and Previous 4 weeks Data calculation</title>
      <link>https://community.qlik.com/t5/QlikView/current-4-weeks-and-Previous-4-weeks-Data-calculation/m-p/1799711#M1211576</link>
      <description>&lt;P&gt;Hi All, Thanks for your support in advance .&lt;/P&gt;&lt;P&gt;I am having data Product,country,date ,sales. I want to calculate Current 4 weeks sales data and Previous 4 weeks sales data. I want expression for this case. I tried some possibilities but those are failed.&lt;/P&gt;&lt;P&gt;Max date in 05/04/2021, I want 08/03/2021 to 05/04/2021 ( Current 4 weeks ) and 07/02/2021 to 07/03/2021 (Previous 4 weeks ) Sales and i also need to calculate Growth Percentage also.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 12:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/current-4-weeks-and-Previous-4-weeks-Data-calculation/m-p/1799711#M1211576</guid>
      <dc:creator>kmmqlick</dc:creator>
      <dc:date>2021-04-15T12:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: current 4 weeks and Previous 4 weeks Data calculation</title>
      <link>https://community.qlik.com/t5/QlikView/current-4-weeks-and-Previous-4-weeks-Data-calculation/m-p/1800337#M1211625</link>
      <description>&lt;P&gt;hii,&lt;/P&gt;&lt;P&gt;what i get from your post is, you want to compare those 2 values right?&lt;/P&gt;&lt;P&gt;if you compare it as single value vs single value (KPIvsKPI), you can use set analysis to make this calculation , for example :&lt;/P&gt;&lt;P&gt;sum({&amp;lt;dateField = {"&amp;gt;=08/03/2021&amp;lt;=05/04/2021"}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;you can adjust date value in that expression using variable, for example :&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;dateField = {"&amp;gt;=$(vstart4Currw)&amp;lt;=$(vend4Currw)"}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but, if you want to show that comparison in (let say) Line chart ,&amp;nbsp; you need to transform some of the data to adjust the dimension to fulfill the requirement of that chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope this help&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 04:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/current-4-weeks-and-Previous-4-weeks-Data-calculation/m-p/1800337#M1211625</guid>
      <dc:creator>andykrst</dc:creator>
      <dc:date>2021-04-19T04:25:23Z</dc:date>
    </item>
  </channel>
</rss>

