<?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 Quarter minu Previous Quarter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Current-Quarter-minu-Previous-Quarter/m-p/1836800#M69149</link>
    <description>&lt;P&gt;Hi&amp;nbsp; C&lt;SPAN&gt;hinmayadash,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for the reply! I have created these variables at the data load editor and its not working.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Set VCurrentQtr='q' &amp;amp; ceil(month(today())/3)&amp;amp;year(today())&lt;/P&gt;&lt;P&gt;Set vPreviousqtr='q' &amp;amp; ceil(month(addmonth(today())())/3)&amp;amp;year(addmonths(today(),-3))&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your help.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Sep 2021 20:04:19 GMT</pubDate>
    <dc:creator>dia2021</dc:creator>
    <dc:date>2021-09-16T20:04:19Z</dc:date>
    <item>
      <title>Current Quarter minu Previous Quarter</title>
      <link>https://community.qlik.com/t5/App-Development/Current-Quarter-minu-Previous-Quarter/m-p/1836770#M69141</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need to calculate the numbers for the current quarter minus the previous quarter. I'm not sure how I can get the right values. I came across multiple blogs regarding date calculations; however, none has worked so far. I'm using this expression for the current month, which is working fine&lt;/P&gt;&lt;P&gt;&amp;nbsp;=sum({&amp;lt;QuarterYear={'$(=MaxString(QuarterYear))'}&amp;gt;}budget)&lt;/P&gt;&lt;P&gt;the same syntax is not working for the previous quarter&amp;nbsp;&amp;nbsp;=sum({&amp;lt;QuarterYear={'$(=MaxString(QuarterYear)-1)'}&amp;gt;}budget)&lt;/P&gt;&lt;P&gt;Could anyone please their thoughts on this? How can I make it work?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 16:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Current-Quarter-minu-Previous-Quarter/m-p/1836770#M69141</guid>
      <dc:creator>dia2021</dc:creator>
      <dc:date>2021-11-30T16:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Current Quarter minu Previous Quarter</title>
      <link>https://community.qlik.com/t5/App-Development/Current-Quarter-minu-Previous-Quarter/m-p/1836772#M69142</link>
      <description>&lt;P&gt;I would suggest create two variable in master calender for better perforamnce like.&lt;/P&gt;&lt;P&gt;Set VCurrentQtr='q' &amp;amp; ceil(month(today())/3)&amp;amp;year(today())&lt;/P&gt;&lt;P&gt;Set vPreviousqtr='q' &amp;amp; ceil(month(addmonth(today())())/3)&amp;amp;year(addmonths(today(),-3))&lt;/P&gt;&lt;P&gt;Create quarter Year in your mastercalender&lt;/P&gt;&lt;P&gt;'q' &amp;amp; ceil(month(orderdate)/3)&amp;amp;year(orderdate)&lt;/P&gt;&lt;P&gt;Create a Variable in Front end&lt;/P&gt;&lt;P&gt;vSalesQoQ=sum({&amp;lt;QuarterYear={$(VCurrentQtr)}&amp;gt;}Sales)-sum({&amp;lt;QuarterYear={$(vPreviousqtr)}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and use the&amp;nbsp;vSalesQoQ on your chat where you require&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 17:01:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Current-Quarter-minu-Previous-Quarter/m-p/1836772#M69142</guid>
      <dc:creator>chinmayadash07</dc:creator>
      <dc:date>2021-09-16T17:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Current Quarter minu Previous Quarter</title>
      <link>https://community.qlik.com/t5/App-Development/Current-Quarter-minu-Previous-Quarter/m-p/1836800#M69149</link>
      <description>&lt;P&gt;Hi&amp;nbsp; C&lt;SPAN&gt;hinmayadash,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for the reply! I have created these variables at the data load editor and its not working.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Set VCurrentQtr='q' &amp;amp; ceil(month(today())/3)&amp;amp;year(today())&lt;/P&gt;&lt;P&gt;Set vPreviousqtr='q' &amp;amp; ceil(month(addmonth(today())())/3)&amp;amp;year(addmonths(today(),-3))&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 20:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Current-Quarter-minu-Previous-Quarter/m-p/1836800#M69149</guid>
      <dc:creator>dia2021</dc:creator>
      <dc:date>2021-09-16T20:04:19Z</dc:date>
    </item>
  </channel>
</rss>

