<?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: YTD with multple Dimesions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-with-multple-Dimesions/m-p/140762#M20947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If 9 here indicating month number one less than today's month, you could define a variable and use it in the expression like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vPreMonth=Num(Month(Today()))-1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Then replace your hard coded number with &lt;EM&gt;$(vPreMonth)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2018 08:25:55 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2018-10-29T08:25:55Z</dc:date>
    <item>
      <title>YTD with multple Dimesions</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-with-multple-Dimesions/m-p/140761#M20946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calculating YTD with two dimension. I am using RangeSum and Above function. I am struggling in Above function. Kindly help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Above(sum({&amp;lt;IMSMonthName,IMSYear,DATAPERIOD={"&amp;gt;=$(=date(AddYears(YearStart(date#(max(DATAPERIOD),'YYYYMM')),-1),'YYYYMM'))&amp;lt;=$(=date(addyears(date#(max(DATAPERIOD),'YYYYMM'),-1),'YYYYMM'))"}&amp;gt;}NVALUE)/1000000,&lt;STRONG style=": ; color: #ff0000;"&gt;9&lt;/STRONG&gt;,RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have hot coded &lt;STRONG style="color: #ff0000;"&gt;9&lt;/STRONG&gt;. How to achieve this instead of hot coded by month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh Kumar Mani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 05:53:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-with-multple-Dimesions/m-p/140761#M20946</guid>
      <dc:creator>dineshm030</dc:creator>
      <dc:date>2018-10-29T05:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: YTD with multple Dimesions</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-with-multple-Dimesions/m-p/140762#M20947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If 9 here indicating month number one less than today's month, you could define a variable and use it in the expression like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vPreMonth=Num(Month(Today()))-1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Then replace your hard coded number with &lt;EM&gt;$(vPreMonth)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 08:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-with-multple-Dimesions/m-p/140762#M20947</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-10-29T08:25:55Z</dc:date>
    </item>
  </channel>
</rss>

