<?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 Help with Before finction in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Before-finction/m-p/410602#M569863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the before function along with rangeavg to calculate forecast sales in&amp;nbsp; a pivot table.The dimensions are product and MonthYear.It works well but when I keep another dimension OF quarters horizontally above monthyear then all values are zero.The reference manual says this for before function:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the pivot table has multiple horizontal dimensions, the current row segment will include only columns&lt;/P&gt;&lt;P&gt;with the same values as the current column in all dimension rows except for the row showing the last horizontal&lt;/P&gt;&lt;P&gt;dimension of the inter field sort order. The inter field sort order for horizontal dimensions in pivot&lt;/P&gt;&lt;P&gt;tables is defined simply by the order of the dimensions from top to bottom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cant understand what does this mean exactly and how should i modify my pivot table.Could someone please explain this:--&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Sep 2012 19:42:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-15T19:42:11Z</dc:date>
    <item>
      <title>Help with Before finction</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Before-finction/m-p/410602#M569863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the before function along with rangeavg to calculate forecast sales in&amp;nbsp; a pivot table.The dimensions are product and MonthYear.It works well but when I keep another dimension OF quarters horizontally above monthyear then all values are zero.The reference manual says this for before function:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the pivot table has multiple horizontal dimensions, the current row segment will include only columns&lt;/P&gt;&lt;P&gt;with the same values as the current column in all dimension rows except for the row showing the last horizontal&lt;/P&gt;&lt;P&gt;dimension of the inter field sort order. The inter field sort order for horizontal dimensions in pivot&lt;/P&gt;&lt;P&gt;tables is defined simply by the order of the dimensions from top to bottom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cant understand what does this mean exactly and how should i modify my pivot table.Could someone please explain this:--&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2012 19:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Before-finction/m-p/410602#M569863</guid>
      <dc:creator />
      <dc:date>2012-09-15T19:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Before finction</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Before-finction/m-p/410603#M569864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's just trying to define the so called row segments, though it's quite hard to understand, I agree. &lt;/P&gt;&lt;P&gt;Have you come across the column segments in a table? Row segments are just the equivalent for horizontal dimensions in a pivot table. &lt;/P&gt;&lt;P&gt;You can see the row segment bounderies by using rowno() function in your pivot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you need to apply the TOTAL qualifier to your before function (assuming that you want to ignore the row segment bounderies). Not sure why you get zero for all values, though. &lt;/P&gt;&lt;P&gt;Can you post your complete dimensions and expression here? Or even better, a small sample file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2012 20:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Before-finction/m-p/410603#M569864</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-09-15T20:31:35Z</dc:date>
    </item>
  </channel>
</rss>

