<?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 Showing previous quarter value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Showing-previous-quarter-value/m-p/388312#M571378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm creating a balance sheet report and once the year and quarter input box is set, i need to show balanace until the specified quarter for previous year, balance for the specified year until previous quarter and also balance from current year until the specifiesd quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the quarter that user specifies is in string value i'm having a difficult time in minusing the quearters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Expression : sum(if(PostingYear=ReportingYear-1 and PostingQuarter&amp;lt;=ReportingQuarter, Amount))/1000&amp;nbsp; &lt;STRONG&gt;(The values for this are correct)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(The values for the below are not showing correctrly)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Second Expression: sum(if(PostingYear&amp;lt;=ReportingYear and PostingQuarter&amp;lt;ReportingQuarter, Amount))/1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Third Expression: sum(if(PostingYear&amp;lt;=ReportingYear and PostingQuarter&amp;lt;=ReportingQuarter, Amount))/1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on this or any other suggestions to do this better are welcomed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Sep 2012 05:05:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-09T05:05:01Z</dc:date>
    <item>
      <title>Showing previous quarter value</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-previous-quarter-value/m-p/388312#M571378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm creating a balance sheet report and once the year and quarter input box is set, i need to show balanace until the specified quarter for previous year, balance for the specified year until previous quarter and also balance from current year until the specifiesd quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the quarter that user specifies is in string value i'm having a difficult time in minusing the quearters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Expression : sum(if(PostingYear=ReportingYear-1 and PostingQuarter&amp;lt;=ReportingQuarter, Amount))/1000&amp;nbsp; &lt;STRONG&gt;(The values for this are correct)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(The values for the below are not showing correctrly)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Second Expression: sum(if(PostingYear&amp;lt;=ReportingYear and PostingQuarter&amp;lt;ReportingQuarter, Amount))/1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Third Expression: sum(if(PostingYear&amp;lt;=ReportingYear and PostingQuarter&amp;lt;=ReportingQuarter, Amount))/1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on this or any other suggestions to do this better are welcomed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Sep 2012 05:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-previous-quarter-value/m-p/388312#M571378</guid>
      <dc:creator />
      <dc:date>2012-09-09T05:05:01Z</dc:date>
    </item>
  </channel>
</rss>

