<?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: Previous date after a selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990072#M645226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A little change in answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the column of Information 1 in the Previous Quarter Table:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=only({&amp;lt; Quarter = {"$(=max(Quarter)-1)&lt;STRONG&gt;"&lt;/STRONG&gt;}&amp;gt;} [Information 1])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;For the column of Information 2 in the Previous Quarter Table:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=only({&amp;lt; Quarter = {"$(=max(Quarter)-1)&lt;STRONG&gt;"&lt;/STRONG&gt;}&amp;gt;} [Information 2])&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;For the column of Information 3 in the Previous Quarter Table:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=only({&amp;lt; Quarter = {"$(=max(Quarter)-1)&lt;STRONG&gt;"&lt;/STRONG&gt;}&amp;gt;} [Information 3])&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;For the column of Information 4 in the Previous Quarter Table:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=only({&amp;lt; Quarter = {"$(=max(Quarter)-1)&lt;STRONG&gt;"&lt;/STRONG&gt;}&amp;gt;} [Information 4])&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The Current Selection Table can be a Table Box&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;In Straight Table, please disable the totals count...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MB&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2015 12:19:55 GMT</pubDate>
    <dc:creator>miguelbraga</dc:creator>
    <dc:date>2015-10-29T12:19:55Z</dc:date>
    <item>
      <title>Previous date after a selection</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990068#M645222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, I try to make a display two tables. First one with the current selection and the second previous quarter. These tables come from 1 Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quarter:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid rgb(0, 0, 0); width: 187px; height: 56px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Quarter&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;&lt;STRONG style=": ; color: #339966;"&gt;01/07/2013&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;01/10/2013&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01/01/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;01/04/2&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;014&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current Selection:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Quarter&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Information 1&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Information 2&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Information 3&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;01/10/2013&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;AAAAA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;AAAAA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;AAAAA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;01/10/2013&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;BBBBB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;BBBBB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;BBBBB&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previous Quarter:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Quarter&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Information 1&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Information 2&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Information3&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #339966;"&gt;01/07/2013&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;CCCCC&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;CCCCC&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;CCCCC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #339966;"&gt;01/07/2013&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;DDDDD&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;DDDDD&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;DDDDD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #339966;"&gt;01/07/2013&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EEEEE&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EEEEE&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EEEEE&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I make the second table with table box or it need something more specific in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 10:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990068#M645222</guid>
      <dc:creator />
      <dc:date>2015-10-29T10:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Previous date after a selection</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990069#M645223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use a straight-table with set analysis expressions for the second table to be independent from the selection, something like this: only({&amp;lt; Quarter = {"$(=max(Quarter)-1)}&amp;gt;} [Information 1])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 11:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990069#M645223</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-29T11:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Previous date after a selection</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990070#M645224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't really understand this expression. I know as you said to put my second table independent, but should I use it in "Expression" from my straight-table? because doing this I only have a new column. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 12:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990070#M645224</guid>
      <dc:creator />
      <dc:date>2015-10-29T12:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Previous date after a selection</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990071#M645225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's no elegant way of doing what you want to do in a table box, a straight table with some set analysis is your best bet.&amp;nbsp; Have a look at this post by Richard Pearce: &lt;A href="https://community.qlik.com/docs/DOC-6593"&gt;Calendar with flags making set analysis so very simple&lt;/A&gt;.&amp;nbsp; It documents a very easy way of achieving what you are trying to do by setting flags in your calendar load script.&amp;nbsp; Getting the previous quarter becomes as simple as sum({&amp;lt;Previous_Quarter={1}&amp;gt;} [Information 1]).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 12:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990071#M645225</guid>
      <dc:creator>gsbeaton</dc:creator>
      <dc:date>2015-10-29T12:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Previous date after a selection</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990072#M645226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A little change in answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the column of Information 1 in the Previous Quarter Table:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=only({&amp;lt; Quarter = {"$(=max(Quarter)-1)&lt;STRONG&gt;"&lt;/STRONG&gt;}&amp;gt;} [Information 1])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;For the column of Information 2 in the Previous Quarter Table:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=only({&amp;lt; Quarter = {"$(=max(Quarter)-1)&lt;STRONG&gt;"&lt;/STRONG&gt;}&amp;gt;} [Information 2])&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;For the column of Information 3 in the Previous Quarter Table:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=only({&amp;lt; Quarter = {"$(=max(Quarter)-1)&lt;STRONG&gt;"&lt;/STRONG&gt;}&amp;gt;} [Information 3])&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;For the column of Information 4 in the Previous Quarter Table:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=only({&amp;lt; Quarter = {"$(=max(Quarter)-1)&lt;STRONG&gt;"&lt;/STRONG&gt;}&amp;gt;} [Information 4])&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The Current Selection Table can be a Table Box&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;In Straight Table, please disable the totals count...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MB&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 12:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990072#M645226</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2015-10-29T12:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Previous date after a selection</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990073#M645227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you need to use these set analysis expressions instead of the most dimensions, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim1: Quarter&lt;/P&gt;&lt;P&gt;Expr1: only({&amp;lt; Quarter = {"$(=max(Quarter)-1)}&amp;gt;} [Information 1])&lt;/P&gt;&lt;P&gt;Expr2: only({&amp;lt; Quarter = {"$(=max(Quarter)-1)}&amp;gt;} [Information 2])&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and Quarter needs to be &lt;STRONG&gt;numeric&lt;/STRONG&gt; (in your screenshot it's left-aligned like a string!) to be able to calculate the previous Quarter and because your Quarter seems to be a date it will be probably look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only({&amp;lt; Quarter = {"$(=addmonths(Quarter, -3))}&amp;gt;} [Information 1])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 12:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990073#M645227</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-29T12:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Previous date after a selection</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990074#M645228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course, you are right - the ending double quote is missing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only({&amp;lt; Quarter = {"$(=addmonths(Quarter, -3))"}&amp;gt;} [Information 1])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 12:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990074#M645228</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-29T12:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Previous date after a selection</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990075#M645229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 13:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-date-after-a-selection/m-p/990075#M645229</guid>
      <dc:creator />
      <dc:date>2015-10-29T13:37:28Z</dc:date>
    </item>
  </channel>
</rss>

