<?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 Based on Quarter Selection, the Previous Quarter of selected Quarter wrt to Year must change in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Based-on-Quarter-Selection-the-Previous-Quarter-of-selected/m-p/1788268#M61537</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;I have a requirement of comparing quarters based on selection. Suppose a quarter is selected then previous quarter of selected Quarter must be calculated. I tried below, But i am stuck when the year changes , the Previous doesnot reflect properly.&lt;/P&gt;&lt;P&gt;I have a created QuarterNew field in this format, 20211,202012,202011,20212&lt;/P&gt;&lt;P&gt;created a variable as&amp;nbsp;&lt;/P&gt;&lt;P&gt;vPreviousQuarter=GetFieldSelections(QuarterNew)-1&lt;/P&gt;&lt;P&gt;In text box, i have used this variable,'$(vPreviousQuarter)'. When we select a value in QuarterNew col as 202011, it shows me 202010 , but when i select 20211 it shows 20210, where as i should get 202012. how can i achieve this? please assist.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:25:28 GMT</pubDate>
    <dc:creator>sunainapawar</dc:creator>
    <dc:date>2024-11-16T17:25:28Z</dc:date>
    <item>
      <title>Based on Quarter Selection, the Previous Quarter of selected Quarter wrt to Year must change</title>
      <link>https://community.qlik.com/t5/App-Development/Based-on-Quarter-Selection-the-Previous-Quarter-of-selected/m-p/1788268#M61537</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;I have a requirement of comparing quarters based on selection. Suppose a quarter is selected then previous quarter of selected Quarter must be calculated. I tried below, But i am stuck when the year changes , the Previous doesnot reflect properly.&lt;/P&gt;&lt;P&gt;I have a created QuarterNew field in this format, 20211,202012,202011,20212&lt;/P&gt;&lt;P&gt;created a variable as&amp;nbsp;&lt;/P&gt;&lt;P&gt;vPreviousQuarter=GetFieldSelections(QuarterNew)-1&lt;/P&gt;&lt;P&gt;In text box, i have used this variable,'$(vPreviousQuarter)'. When we select a value in QuarterNew col as 202011, it shows me 202010 , but when i select 20211 it shows 20210, where as i should get 202012. how can i achieve this? please assist.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Based-on-Quarter-Selection-the-Previous-Quarter-of-selected/m-p/1788268#M61537</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2024-11-16T17:25:28Z</dc:date>
    </item>
  </channel>
</rss>

