<?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 Using dimension value in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-dimension-value-in-expression/m-p/631063#M231609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have dimension Month and "sales per month" expression. I also want two more expressions:&lt;/P&gt;&lt;P&gt;first - Sum of all previous sales prior to month start&lt;/P&gt;&lt;P&gt;second - Sum of all previous sales prior to month end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think expressions should be like &lt;/P&gt;&lt;P&gt;Sum({&amp;lt;SalesDate={"&amp;lt;monthstart(Month)"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;SalesDate={"&amp;lt;monthend(Month)"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2014 08:57:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-13T08:57:59Z</dc:date>
    <item>
      <title>Using dimension value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dimension-value-in-expression/m-p/631063#M231609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have dimension Month and "sales per month" expression. I also want two more expressions:&lt;/P&gt;&lt;P&gt;first - Sum of all previous sales prior to month start&lt;/P&gt;&lt;P&gt;second - Sum of all previous sales prior to month end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think expressions should be like &lt;/P&gt;&lt;P&gt;Sum({&amp;lt;SalesDate={"&amp;lt;monthstart(Month)"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;SalesDate={"&amp;lt;monthend(Month)"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 08:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dimension-value-in-expression/m-p/631063#M231609</guid>
      <dc:creator />
      <dc:date>2014-05-13T08:57:59Z</dc:date>
    </item>
  </channel>
</rss>

