<?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. :selection of value from ref table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-select-previous-quarter-from-ref-table/m-p/193634#M54826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You have to use the QuarterName() function :&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;QuarterName(Today())&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jan 2011 10:17:51 GMT</pubDate>
    <dc:creator>martin59</dc:creator>
    <dc:date>2011-01-31T10:17:51Z</dc:date>
    <item>
      <title>How to select previous quarter from ref table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-previous-quarter-from-ref-table/m-p/193633#M54825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a ref table like the following.&lt;/P&gt;&lt;P&gt;Month_No, Month, Quarter&lt;BR /&gt; 1 , Jan , Q1&lt;BR /&gt; 2, , Feb , Q1&lt;BR /&gt; 5 , May, , Q2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qns 1:&lt;BR /&gt;I'm trying to create a text object to determine current month so i can get the quarter value.&lt;BR /&gt;i tried using pick(), but it requires me to make selection on month first.&lt;BR /&gt;i wanted it to be no selection because it's a fixed text box.&lt;BR /&gt;&lt;BR /&gt;Qns 2:&lt;BR /&gt;Based on the above table structure, to determine previous Q,&lt;BR /&gt;Now is Jan 2011, so previous Q should be 'Q4 2010'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 09:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-previous-quarter-from-ref-table/m-p/193633#M54825</guid>
      <dc:creator />
      <dc:date>2011-01-31T09:58:04Z</dc:date>
    </item>
    <item>
      <title>Re. :selection of value from ref table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-previous-quarter-from-ref-table/m-p/193634#M54826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You have to use the QuarterName() function :&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;QuarterName(Today())&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 10:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-previous-quarter-from-ref-table/m-p/193634#M54826</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2011-01-31T10:17:51Z</dc:date>
    </item>
    <item>
      <title>Re. :selection of value from ref table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-previous-quarter-from-ref-table/m-p/193635#M54827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But the value i'm trying to get is in Q1 . Q2 ....&lt;/P&gt;&lt;P&gt;QuarterName returns Jan-Mar 2011.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 10:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-previous-quarter-from-ref-table/m-p/193635#M54827</guid>
      <dc:creator />
      <dc:date>2011-01-31T10:59:50Z</dc:date>
    </item>
    <item>
      <title>Re. :selection of value from ref table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-previous-quarter-from-ref-table/m-p/193636#M54828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i do this , it is able to detect the correct quantity of the value.&lt;/P&gt;&lt;P&gt;and now i just need to make the value to show.&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=COUNT({$&amp;lt;MONTH={'$(=month(today()))'}&amp;gt;} Quarter)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 11:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-previous-quarter-from-ref-table/m-p/193636#M54828</guid>
      <dc:creator />
      <dc:date>2011-01-31T11:35:50Z</dc:date>
    </item>
    <item>
      <title>How to select previous quarter from ref table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-previous-quarter-from-ref-table/m-p/193637#M54829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can try a autonumber.&lt;BR /&gt;Based on Year, Month and Quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Load&lt;BR /&gt;Autonumber(Year, Month, Quarter) as OrderQuarter&lt;BR /&gt;Resident Master_Calendar;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;After, you can make a subtraction to get the previous quarter, with set analyis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Sum({$&amp;lt;OrderQuarter={$(=(Max(OrderQuarter))-1)}&amp;gt;} Sales)&lt;BR /&gt;Only({$&amp;lt;OrderQuarter={$(=(Max(OrderQuarter))-1)}&amp;gt;} Quarter)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 12:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-previous-quarter-from-ref-table/m-p/193637#M54829</guid>
      <dc:creator />
      <dc:date>2011-01-31T12:50:36Z</dc:date>
    </item>
  </channel>
</rss>

