<?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 Current &amp;amp; Previous Week Calculations in Qliksense Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Current-amp-Previous-Week-Calculations-in-Qliksense-Table/m-p/1703279#M53876</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need a small clarification. Actually we have a Product and it's Sales. Sales update every week. We want to show Current week and Previous week.&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Product ,Q_Date, Sales&lt;/P&gt;&lt;P&gt;Mobile,&amp;nbsp; 5/15/2020, 1098&lt;/P&gt;&lt;P&gt;Mobile,&amp;nbsp; 5/08/2020, 1081&lt;/P&gt;&lt;P&gt;Mobile,&amp;nbsp; 5/01/2020, 1062&lt;/P&gt;&lt;P&gt;So I am currently using following formula&lt;/P&gt;&lt;P&gt;For Current Week:&lt;/P&gt;&lt;P&gt;&amp;lt;[Week End]={"$(=Weekend(max(Q_Date)))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;For Previous Week:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Week End]={"$(=Date(Weekend(max(Q_Date-7))))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;So when ever we doesn't make any selections. It displaying values perfect&lt;/P&gt;&lt;P&gt;Current week&amp;nbsp; &amp;nbsp; &amp;nbsp; Last week.&lt;/P&gt;&lt;P&gt;1098&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1081&lt;/P&gt;&lt;P&gt;but when I select date 5/08/2020&lt;/P&gt;&lt;P&gt;Current Week&amp;nbsp; &amp;nbsp; &amp;nbsp;Last Week&lt;/P&gt;&lt;P&gt;&amp;nbsp;1081&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/P&gt;&lt;P&gt;But it have to show following Values when i select&amp;nbsp;5/08/2020&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current Week&amp;nbsp; &amp;nbsp; &amp;nbsp;Last Week&lt;/P&gt;&lt;P&gt;&amp;nbsp;1081&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1062&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can some one please help me on this to resolve this Issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Satya&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 18:37:21 GMT</pubDate>
    <dc:creator>SatyaPaleti</dc:creator>
    <dc:date>2024-11-16T18:37:21Z</dc:date>
    <item>
      <title>Current &amp; Previous Week Calculations in Qliksense Table</title>
      <link>https://community.qlik.com/t5/App-Development/Current-amp-Previous-Week-Calculations-in-Qliksense-Table/m-p/1703279#M53876</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need a small clarification. Actually we have a Product and it's Sales. Sales update every week. We want to show Current week and Previous week.&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Product ,Q_Date, Sales&lt;/P&gt;&lt;P&gt;Mobile,&amp;nbsp; 5/15/2020, 1098&lt;/P&gt;&lt;P&gt;Mobile,&amp;nbsp; 5/08/2020, 1081&lt;/P&gt;&lt;P&gt;Mobile,&amp;nbsp; 5/01/2020, 1062&lt;/P&gt;&lt;P&gt;So I am currently using following formula&lt;/P&gt;&lt;P&gt;For Current Week:&lt;/P&gt;&lt;P&gt;&amp;lt;[Week End]={"$(=Weekend(max(Q_Date)))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;For Previous Week:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Week End]={"$(=Date(Weekend(max(Q_Date-7))))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;So when ever we doesn't make any selections. It displaying values perfect&lt;/P&gt;&lt;P&gt;Current week&amp;nbsp; &amp;nbsp; &amp;nbsp; Last week.&lt;/P&gt;&lt;P&gt;1098&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1081&lt;/P&gt;&lt;P&gt;but when I select date 5/08/2020&lt;/P&gt;&lt;P&gt;Current Week&amp;nbsp; &amp;nbsp; &amp;nbsp;Last Week&lt;/P&gt;&lt;P&gt;&amp;nbsp;1081&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/P&gt;&lt;P&gt;But it have to show following Values when i select&amp;nbsp;5/08/2020&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current Week&amp;nbsp; &amp;nbsp; &amp;nbsp;Last Week&lt;/P&gt;&lt;P&gt;&amp;nbsp;1081&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1062&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can some one please help me on this to resolve this Issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Satya&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Current-amp-Previous-Week-Calculations-in-Qliksense-Table/m-p/1703279#M53876</guid>
      <dc:creator>SatyaPaleti</dc:creator>
      <dc:date>2024-11-16T18:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Current &amp; Previous Week Calculations in Qliksense Table</title>
      <link>https://community.qlik.com/t5/App-Development/Current-amp-Previous-Week-Calculations-in-Qliksense-Table/m-p/1703633#M53899</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46656"&gt;@SatyaPaleti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you share a sample data ? [Week End] field ?&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 00:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Current-amp-Previous-Week-Calculations-in-Qliksense-Table/m-p/1703633#M53899</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-05-20T00:47:23Z</dc:date>
    </item>
  </channel>
</rss>

