<?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 FYQ in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-FYQ/m-p/1738058#M506393</link>
    <description>&lt;P&gt;Thanks Kush. I am getting the Sum of current and previous qtrs exactly as I need. One more thing that I would request is the Header for this which also should be Dynamic.&lt;/P&gt;&lt;P&gt;So in the KPI i can use&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FY20 Q4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FY20 Q3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;69369&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 7789&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2020 08:05:18 GMT</pubDate>
    <dc:creator>alexshaji</dc:creator>
    <dc:date>2020-08-24T08:05:18Z</dc:date>
    <item>
      <title>Current FYQ</title>
      <link>https://community.qlik.com/t5/QlikView/Current-FYQ/m-p/1736167#M506390</link>
      <description>&lt;P&gt;HI Members,&lt;/P&gt;&lt;P&gt;I have quite a few places in the Dashboard where I need to display the current and previous quarter results. My project follows the FYQ as:&lt;/P&gt;&lt;P&gt;Nov - Jan = Q1&lt;BR /&gt;Feb - Apr=Q2&lt;BR /&gt;May - Jul=Q3&lt;BR /&gt;Aug - Oct=Q4&lt;/P&gt;&lt;P&gt;The table has the following:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="20%" height="24px"&gt;Cust ID&lt;/TD&gt;&lt;TD width="20%" height="24px"&gt;SalesFYQ&lt;/TD&gt;&lt;TD width="20%" height="24px"&gt;SalesDate&lt;/TD&gt;&lt;TD width="20%" height="24px"&gt;Business Unit&lt;/TD&gt;&lt;TD width="20%" height="24px"&gt;Sales Amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%" height="24px"&gt;121&lt;/TD&gt;&lt;TD width="20%" height="24px"&gt;FY16 Q2&lt;/TD&gt;&lt;TD width="20%" height="24px"&gt;24-03-2016&lt;/TD&gt;&lt;TD width="20%" height="24px"&gt;ABC&lt;/TD&gt;&lt;TD width="20%" height="24px"&gt;12000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="24px"&gt;123&lt;/TD&gt;&lt;TD height="24px"&gt;FY17 Q1&lt;/TD&gt;&lt;TD height="24px"&gt;16-12-2017&lt;/TD&gt;&lt;TD height="24px"&gt;AAV&lt;/TD&gt;&lt;TD height="24px"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="24px"&gt;142&lt;/TD&gt;&lt;TD height="24px"&gt;FY20 Q1&lt;/TD&gt;&lt;TD height="24px"&gt;21-11-2020&lt;/TD&gt;&lt;TD height="24px"&gt;GBC&lt;/TD&gt;&lt;TD height="24px"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;116&lt;/TD&gt;&lt;TD&gt;FY20 Q2&lt;/TD&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;TD&gt;AAA&lt;/TD&gt;&lt;TD&gt;6897&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1220&lt;/TD&gt;&lt;TD&gt;FY20 Q3&lt;/TD&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;TD&gt;....&lt;/TD&gt;&lt;TD&gt;7789&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;136&lt;/TD&gt;&lt;TD&gt;FY20 Q4&lt;/TD&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;TD&gt;69369&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;FY21 Q1&lt;/TD&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;TD&gt;....&lt;/TD&gt;&lt;TD&gt;421&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;422&lt;/TD&gt;&lt;TD&gt;FY22 Q2&lt;/TD&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;TD&gt;1589&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now Ideally every Quarter the display will need to change. FIr examples this quarter&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Qtr Sales&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Previous Qtr Sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FY20 Q4&lt;/STRONG&gt; =&amp;nbsp;&lt;STRONG&gt;69369&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FY20 Q3 =&amp;nbsp;7789&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How can I achieve this? Please help me&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-FYQ/m-p/1736167#M506390</guid>
      <dc:creator>alexshaji</dc:creator>
      <dc:date>2024-11-16T18:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Current FYQ</title>
      <link>https://community.qlik.com/t5/QlikView/Current-FYQ/m-p/1736459#M506391</link>
      <description>&lt;P&gt;Guys&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 17:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-FYQ/m-p/1736459#M506391</guid>
      <dc:creator>alexshaji</dc:creator>
      <dc:date>2020-08-17T17:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Current FYQ</title>
      <link>https://community.qlik.com/t5/QlikView/Current-FYQ/m-p/1736503#M506392</link>
      <description>&lt;P&gt;Create variables like below&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;vCurrentQuarterStart = date(quarterstart(max(SalesDate),0,11))

vCurrentQuarterEnd = date(quarterend(max(SalesDate),0,11))

vPreviousQuarterStart = date(quarterstart(max(SalesDate),-1,11))

vPreviousQuarterEnd = date(quarterend(max(SalesDate),-1,11))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you can use below expression to get the sales amount&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Sum({&amp;lt;Quarter, Month,Week, SalesDate,SalesDate={"&amp;gt;=$(vCurrentQuarterStart)&amp;lt;=$(vCurrentQuarterEnd)"}&amp;gt;}SalesAmount)

Sum({&amp;lt;Quarter, Month,Week, SalesDate,SalesDate={"&amp;gt;=$(vPreviousQuarterStart)&amp;lt;=$(vPreviousQuarterEnd)"}&amp;gt;}SalesAmount)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 17 Aug 2020 21:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-FYQ/m-p/1736503#M506392</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-08-17T21:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Current FYQ</title>
      <link>https://community.qlik.com/t5/QlikView/Current-FYQ/m-p/1738058#M506393</link>
      <description>&lt;P&gt;Thanks Kush. I am getting the Sum of current and previous qtrs exactly as I need. One more thing that I would request is the Header for this which also should be Dynamic.&lt;/P&gt;&lt;P&gt;So in the KPI i can use&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FY20 Q4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FY20 Q3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;69369&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 7789&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 08:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-FYQ/m-p/1738058#M506393</guid>
      <dc:creator>alexshaji</dc:creator>
      <dc:date>2020-08-24T08:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Current FYQ</title>
      <link>https://community.qlik.com/t5/QlikView/Current-FYQ/m-p/1738652#M506394</link>
      <description>&lt;P&gt;may be below&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// Current Quarter
='FY'&amp;amp; date(quarterstart(max(SalesDate),0,11),'YY')&amp;amp;' '&amp;amp;
'Q'&amp;amp;ceil(month(quarterstart(max(SalesDate),0,11))/3)

// Previous Quarter
='FY'&amp;amp; date(quarterstart(max(SalesDate),-1,11),'YY')&amp;amp;' '&amp;amp;
'Q'&amp;amp;ceil(month(quarterstart(max(SalesDate),-1,11))/3)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 25 Aug 2020 20:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-FYQ/m-p/1738652#M506394</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-08-25T20:51:50Z</dc:date>
    </item>
  </channel>
</rss>

