<?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: Straight Table Quarter Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028828#M347547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are only using Year as dimension, not Month, you can't have your condition check if the Month field value is smaller or larger than a number, this condition will always be evaluated to FALSE, since there is no unique Month value to compare to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3779"&gt;Use Aggregation Functions!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Feb 2016 21:59:07 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-02-13T21:59:07Z</dc:date>
    <item>
      <title>Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028824#M347543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a straight table with Year as a Dimension.&amp;nbsp; I am using Q1,Q2,Q3 and Q4 as quarters and generatiing the quarters with the 4 Expressions as Q1,Q2, Q3 and Q4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt;Q1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Month&amp;lt;='3',&lt;/P&gt;&lt;P&gt;Num((Sum({&amp;lt;Year={$(=Max(Year)-1),$(=Max(Year)-2),$(=Max(Year)-3)},MPL_Flag={'1'}&amp;gt;} Total_Incurred) ) ,'$#,##0'),&lt;/P&gt;&lt;P&gt;Num((Sum({&amp;lt;Month={'Mar'},Year={$(=Max(Year)-1),$(=Max(Year)-2),$(=Max(Year)-3)},MPL_Flag={'1'}&amp;gt;}Total_Incurred) ) ,'$#,##0'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt;Q2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If (Month &amp;lt;='3','0',If(Month &amp;gt;'3' and Month &amp;lt;= '6',&lt;/P&gt;&lt;P&gt;Num((Sum({&amp;lt;Year={$(=Max(Year)-1),$(=Max(Year)-2),$(=Max(Year)-3)},MPL_Flag={'1'}&amp;gt;} Total_Incurred) ) ,'$#,##0'),&lt;/P&gt;&lt;P&gt;Num((Sum({&amp;lt;Month={'Jun'},Year={$(=Max(Year)-1),$(=Max(Year)-2),$(=Max(Year)-3)},MPL_Flag={'1'}&amp;gt;}Total_Incurred) ) ,'$#,##0')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on&lt;/P&gt;&lt;P&gt;But looks like the table is always evaluating a static number&amp;nbsp; using expressions, its ignoring&amp;nbsp; for example&lt;/P&gt;&lt;P&gt;If I select Feb , Q1 still gives me &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Num((Sum({&amp;lt;Month=&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;{'Mar'}&lt;/STRONG&gt;,&lt;/SPAN&gt;Year={$(=Max(Year)-1),$(=Max(Year)-2),$(=Max(Year)-3)},MPL_Flag={'1'}&amp;gt;}Total_Incurred) ) ,'$#,##0'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If I select&amp;nbsp; Apr, Q2 still give me &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Num((Sum({&amp;lt;Month=&lt;STRONG style="font-size: 12pt;"&gt;{'Jun'}&lt;/STRONG&gt;,Year={$(=Max(Year)-1),$(=Max(Year)-2),$(=Max(Year)-3)},MPL_Flag={'1'}&amp;gt;}Total_Incurred) ) ,'$#,##0')))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;What shall I do so that when I&amp;nbsp; select&amp;nbsp; Jan or Feb or March I shall get numbers for Jan , Feb and March in Q1 column&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 19:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028824#M347543</guid>
      <dc:creator />
      <dc:date>2016-02-13T19:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028825#M347544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your IF, you use : &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #999999; font-size: 8pt;"&gt;&lt;STRONG&gt;Month&amp;lt;='3' &lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;EM style="font-size: 8pt;"&gt;&amp;lt;== numeric value&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in your Set Analysis, you use :&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #999999;"&gt;Month=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #999999;"&gt;{'Jun'}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-size: 8pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;EM&gt;&amp;lt;== string value&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that your field Month is Dual. If it's not the case, it could explain the comportement you describe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 21:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028825#M347544</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-02-13T21:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028826#M347545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 21:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028826#M347545</guid>
      <dc:creator />
      <dc:date>2016-02-13T21:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028827#M347546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just attached the sample QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 21:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028827#M347546</guid>
      <dc:creator />
      <dc:date>2016-02-13T21:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028828#M347547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are only using Year as dimension, not Month, you can't have your condition check if the Month field value is smaller or larger than a number, this condition will always be evaluated to FALSE, since there is no unique Month value to compare to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3779"&gt;Use Aggregation Functions!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 21:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028828#M347547</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-13T21:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028829#M347548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did add month to the dimension but same result. Can you pleas look at the sample QVW I have attached to the original thread and let me know if you can find something &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 22:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028829#M347548</guid>
      <dc:creator />
      <dc:date>2016-02-13T22:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028830#M347549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want 4 expression for quarters I think you can modify your exp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If(Month &amp;lt;='3',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;Year={$(=Max(Year)-1),$(=Max(Year)-2),$(=Max(Year)-3)}&amp;gt;} Amount),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;Year={$(=Max(Year)-1),$(=Max(Year)-2),$(=Max(Year)-3)},Month={'Mar'}&amp;gt;} Amount))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;Month={'jan','feb','mar'},Year={$(=Max(Year)-1),$(=Max(Year)-2),$(=Max(Year)-3)}&amp;gt;} Amount)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 22:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028830#M347549</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-02-13T22:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028831#M347550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doest work, can u pls attach sample qvw if u have.&amp;nbsp; Please keep in mind that Mar is cumulative of Jan, Feb and March, so cant do jan feb and march&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 22:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028831#M347550</guid>
      <dc:creator />
      <dc:date>2016-02-13T22:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028832#M347551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with ‌:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( &lt;STRONG&gt;max&lt;/STRONG&gt;(month) &amp;lt;= 3, &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 22:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028832#M347551</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-02-13T22:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028833#M347552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to apply a set expression also to your Month comparison in the conditon, to allow QV to evaluate the Month also for the years you haven't selected (but these are the only years you are showing):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt; &amp;lt;= 3, &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Year)-1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Year)-2)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Year)-3)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt; {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Year)-1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Year)-2)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Year)-3)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Mar'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using a Month dimension, you would also need a TOTAL&amp;lt;Year&amp;gt; qualifier in your else branch, otherwise the projection of this aggregation (of March's Amount)&amp;nbsp; to Month &amp;gt; 3 will be zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you will get two lines for a Month selection &amp;lt;3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I assume you want to remove the Month dimension anyway (as I read your OP), then the result should now be correct (assuming you are using always one selected value in Month field).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 22:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028833#M347552</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-13T22:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028834#M347553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached a version that also works in with Month dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 23:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028834#M347553</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-13T23:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028835#M347554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry I thought its working , but when I was testing it realized&amp;nbsp; there is a row with '0' for Q1 and Q2 I dont get that row, cuz I am supresssing 0 values, but if I un supress 0 values I get all years not just (-1,-2 and -3). Am I&amp;nbsp; missing something. I would like to show the 0 values&amp;nbsp; only for the years requested &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 05:18:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028835#M347554</guid>
      <dc:creator />
      <dc:date>2016-02-15T05:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028836#M347555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to analyse the data by quarters, you should include quarters in your model as a derived field. Since you deleted the load script from the sample you uploaded, I can only give you guidelines, but assuming that Month is coming from your data source and that Month is a dual value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Month &amp;lt;= 3, Dual('Q1', 1),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Month &amp;lt;= 6, Dual('Q2', 2),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Month &amp;lt;= 9, Dual('Q3', 3), Dual('Q4', 4)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) As Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can use Month selection(s) and dimensions to view the results of selected months and Quarter selections or dimensions to view the data by quarter. Your expression becomes simply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum(Amount)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // for the selected year(s)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;=Sum({&amp;lt;Year = {"$(=Max(Year))"}&amp;gt;} Amount)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;// for the selected year&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;Year = {"$(=Max(Year)-1)"}&amp;gt;} Amount)&amp;nbsp;&amp;nbsp;&amp;nbsp; // for the prior year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 05:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028836#M347555</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-02-15T05:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028837#M347556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If you want data for the last 3 years:&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&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Sum({&amp;lt;Year = {"&amp;gt;=$(=Max(Year)-3) &amp;lt;=$(=Max(Year))"}&amp;gt;} Amount)&amp;nbsp;&amp;nbsp; &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;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Sum({&amp;lt;Year = {"&amp;gt;=$(=Max(Year)-3) &amp;lt;=$(=Max(Year)-1)"}&amp;gt;} Amount)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;depending on your exact requirements&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 05:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028837#M347556</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-02-15T05:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Quarter Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028838#M347557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Year(Date) as Year,&lt;/P&gt;&lt;P&gt;Month(Date) as Month,&lt;/P&gt;&lt;P&gt;'Q' &amp;amp;Ceil((month)/3) as quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this code it useful to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 06:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Quarter-Issue/m-p/1028838#M347557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-15T06:06:59Z</dc:date>
    </item>
  </channel>
</rss>

