<?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 how to write expression for rolling dimension? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-write-expression-for-rolling-dimension/m-p/345824#M127918</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 the following requirement :- there r 7 dimensions namely- month , raw material,job,work center,commodity,plant ,zone and three expressions namely standard cost, planned cost, budget cost . i need to create the pivot table for these , the expression for standard cost is &lt;/P&gt;&lt;P style="margin-left: 0.5in;"&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri;"&gt;if isnull({actual_cost})or &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 0.5in;"&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri;"&gt;&amp;nbsp; isnull({actual_qty})&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 0.5in;"&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri;"&gt;then 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri;"&gt;else {actual_cost} * &lt;/SPAN&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; {actual_qty}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri; font-size: 10pt;"&gt;Also the expressions should have 12 months rolling period . i.e. if i click on 2011 dec then data should get displayed for 12 months from dec 2010 till dec 2011.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri; font-size: 10pt;"&gt;Help me with the expression.....&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2012 06:26:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-11T06:26:56Z</dc:date>
    <item>
      <title>how to write expression for rolling dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-expression-for-rolling-dimension/m-p/345824#M127918</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 the following requirement :- there r 7 dimensions namely- month , raw material,job,work center,commodity,plant ,zone and three expressions namely standard cost, planned cost, budget cost . i need to create the pivot table for these , the expression for standard cost is &lt;/P&gt;&lt;P style="margin-left: 0.5in;"&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri;"&gt;if isnull({actual_cost})or &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 0.5in;"&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri;"&gt;&amp;nbsp; isnull({actual_qty})&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 0.5in;"&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri;"&gt;then 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri;"&gt;else {actual_cost} * &lt;/SPAN&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; {actual_qty}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri; font-size: 10pt;"&gt;Also the expressions should have 12 months rolling period . i.e. if i click on 2011 dec then data should get displayed for 12 months from dec 2010 till dec 2011.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-SG" style="color: black; font-family: Calibri; font-size: 10pt;"&gt;Help me with the expression.....&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 06:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-expression-for-rolling-dimension/m-p/345824#M127918</guid>
      <dc:creator />
      <dc:date>2012-04-11T06:26:56Z</dc:date>
    </item>
    <item>
      <title>how to write expression for rolling dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-write-expression-for-rolling-dimension/m-p/345825#M127919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;DateFieldName={'&amp;gt;=$(MonthStart(Max(DateFieldName), -12)) &amp;lt;=$(MonthEnd(Max(DateFieldName))) '}&amp;gt;} Alt(actual_cost, 0) * Alt(actual_qty, 0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 08:34:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-write-expression-for-rolling-dimension/m-p/345825#M127919</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-04-11T08:34:14Z</dc:date>
    </item>
  </channel>
</rss>

