<?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: Getting previous quarter value showing current quarter in dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-previous-quarter-value-showing-current-quarter-in/m-p/1102403#M898641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not working, I am getting all zeros in real data when I am using the mentioned expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max({&amp;lt;QuarterYear={$(vPreviousQaurter)}&amp;gt;}[Cost]), this is showing both quarters Q4 and Q3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QuarterYear = Q4'16&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vPreviousQaurter&lt;/SPAN&gt;= Q3'16&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Aug 2016 05:53:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-02T05:53:52Z</dc:date>
    <item>
      <title>Getting previous quarter value showing current quarter in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-previous-quarter-value-showing-current-quarter-in/m-p/1102401#M898639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have taken sample QVW from one of discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need selected dimension with previous quarter value in expression. When I use previous quarter in expression dimension is also changing to previous quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in example I have selected 3 but selected quarter is showing as 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have many dimesions, if I use getselectedvalue function it in dimension not working in some cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sai Krishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-previous-quarter-value-showing-current-quarter-in/m-p/1102401#M898639</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting previous quarter value showing current quarter in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-previous-quarter-value-showing-current-quarter-in/m-p/1102402#M898640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133186_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Above(Sum({&amp;lt;Qtr&amp;gt;}Amount)) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 14:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-previous-quarter-value-showing-current-quarter-in/m-p/1102402#M898640</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-01T14:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting previous quarter value showing current quarter in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-previous-quarter-value-showing-current-quarter-in/m-p/1102403#M898641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not working, I am getting all zeros in real data when I am using the mentioned expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max({&amp;lt;QuarterYear={$(vPreviousQaurter)}&amp;gt;}[Cost]), this is showing both quarters Q4 and Q3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QuarterYear = Q4'16&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vPreviousQaurter&lt;/SPAN&gt;= Q3'16&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 05:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-previous-quarter-value-showing-current-quarter-in/m-p/1102403#M898641</guid>
      <dc:creator />
      <dc:date>2016-08-02T05:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting previous quarter value showing current quarter in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-previous-quarter-value-showing-current-quarter-in/m-p/1102404#M898642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you opened the application I have attached above? I am not sure what 0's you are talking about? Can you elaborate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 10:09:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-previous-quarter-value-showing-current-quarter-in/m-p/1102404#M898642</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-02T10:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting previous quarter value showing current quarter in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-previous-quarter-value-showing-current-quarter-in/m-p/1102405#M898643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above function is fetching correct results but in my case it is not working. As the there was blank in first row of my data the entire column is showing blank. I have used below expression and it worked fine. Thanks for your help. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(Max({&amp;lt;Quarter={$(vPreviousQaurter)}&amp;gt;} Amount), RecordKey)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sai Krishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2016 07:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-previous-quarter-value-showing-current-quarter-in/m-p/1102405#M898643</guid>
      <dc:creator />
      <dc:date>2016-08-03T07:59:31Z</dc:date>
    </item>
  </channel>
</rss>

