<?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: Comparison of Current Qtr with previous qtr based on selection in pivot table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Comparison-of-Current-Qtr-with-previous-qtr-based-on-selection/m-p/1788143#M61518</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Any idea on this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Mar 2021 04:44:39 GMT</pubDate>
    <dc:creator>sunainapawar</dc:creator>
    <dc:date>2021-03-04T04:44:39Z</dc:date>
    <item>
      <title>Comparison of Current Qtr with previous qtr based on selection in pivot table</title>
      <link>https://community.qlik.com/t5/App-Development/Comparison-of-Current-Qtr-with-previous-qtr-based-on-selection/m-p/1787985#M61499</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a requirement. I have a pivot table. Dimension is customer. And measures are current and previous qtr. I need to show growth and degrowth based on qtr selection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;By default ,the growth must be shown as&amp;nbsp; current qtr-prev qtr but when someone selects a quarter then it must dynamically compare the selected qtr with previous qtr. Or if someone selects a current qtr of current fyear,then it must compare the same quarter of last fyear and show the growth between them. I tried below expression but it is not working.&lt;/P&gt;&lt;P&gt;Current qtr&amp;nbsp;&lt;/P&gt;&lt;P&gt;If(getselectedcount(qtr)=0,//for default selection&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;quarter='$(vcurrentqtr)',sum(amt),&lt;/P&gt;&lt;P&gt;If(qtr=getfieldselection(qtr),&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;qtr={"=$(getfieldselection (qtr))"}&amp;gt;}amt ))&lt;/P&gt;&lt;P&gt;Here currentqtr is the lastest qtr.&lt;/P&gt;&lt;P&gt;Same expression I have used for previous qtr. But on qtr selection, both previous and current are showing same values&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparison-of-Current-Qtr-with-previous-qtr-based-on-selection/m-p/1787985#M61499</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2024-11-16T17:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison of Current Qtr with previous qtr based on selection in pivot table</title>
      <link>https://community.qlik.com/t5/App-Development/Comparison-of-Current-Qtr-with-previous-qtr-based-on-selection/m-p/1788143#M61518</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Any idea on this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 04:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparison-of-Current-Qtr-with-previous-qtr-based-on-selection/m-p/1788143#M61518</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2021-03-04T04:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison of Current Qtr with previous qtr based on selection in pivot table</title>
      <link>https://community.qlik.com/t5/App-Development/Comparison-of-Current-Qtr-with-previous-qtr-based-on-selection/m-p/1793286#M62106</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I solved this by using Alternate States.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 10:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Comparison-of-Current-Qtr-with-previous-qtr-based-on-selection/m-p/1793286#M62106</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2021-03-22T10:43:24Z</dc:date>
    </item>
  </channel>
</rss>

