<?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: To retrieve previous dimension variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/To-retrieve-previous-dimension-variable/m-p/337659#M124537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to sum field "Net Revenue' by Month?In that case, what I think is, you are using the variable in ur dimension, and [Month Booked], field in ur expression, and they are not related.If you use your dimension as [Month Booked], istead of the variable and use this expression&lt;/P&gt;&lt;P&gt;= sum( If ([Month Booked] ='Jan',[Net Revenue], If ([Month Booked] ='Feb', [Net Revenue])))&lt;/P&gt;&lt;P&gt;I think you will get sum of actual revenue month wise.&lt;/P&gt;&lt;P&gt;But the vice versa won't work, because the variable that you have created, and [Net Revenue] field is not related anyway.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2012 17:32:45 GMT</pubDate>
    <dc:creator>ektarathi</dc:creator>
    <dc:date>2012-08-03T17:32:45Z</dc:date>
    <item>
      <title>To retrieve previous dimension variable</title>
      <link>https://community.qlik.com/t5/QlikView/To-retrieve-previous-dimension-variable/m-p/337658#M124536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I am trying to project sales based on current qtr or month sales&lt;/P&gt;&lt;P&gt;i have 2 dept A and B and they have revenues per month till mar lets assume.&lt;/P&gt;&lt;P&gt;I have 2 slider objects which say if revenue increases by 20% Month on Month then what will be Business year end Revenue.&lt;/P&gt;&lt;P&gt;For Eg:&lt;/P&gt;&lt;P&gt;Dept A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actual Revenue&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Projected Revenue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10000&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15000&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20000&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.2*20000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; May&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/242840/edit" style="color: #636363;"&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt; i am unable to sum the Actual Revenues by month (which is variable) i am using the below expression i have used it with quotes without quotes it still doesnt work.&amp;nbsp; i tried hard coding for specific month and it returned the sum correctly but it shows lets say Feb months value for all the month.&amp;nbsp; How to retrieve previous columns data and use it with below expression. i am surely missing something becoz if([Month Booked]=column(r1) is always returning false. Have tried before also no luck .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt; V_Month=Valuelist('Jan','Feb'...etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;[Month Booked]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="font-size: 8pt; color: #808080;"&gt;$(V_Month)'}&amp;gt; [Net Revenue])&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 16:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-retrieve-previous-dimension-variable/m-p/337658#M124536</guid>
      <dc:creator />
      <dc:date>2012-08-03T16:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: To retrieve previous dimension variable</title>
      <link>https://community.qlik.com/t5/QlikView/To-retrieve-previous-dimension-variable/m-p/337659#M124537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to sum field "Net Revenue' by Month?In that case, what I think is, you are using the variable in ur dimension, and [Month Booked], field in ur expression, and they are not related.If you use your dimension as [Month Booked], istead of the variable and use this expression&lt;/P&gt;&lt;P&gt;= sum( If ([Month Booked] ='Jan',[Net Revenue], If ([Month Booked] ='Feb', [Net Revenue])))&lt;/P&gt;&lt;P&gt;I think you will get sum of actual revenue month wise.&lt;/P&gt;&lt;P&gt;But the vice versa won't work, because the variable that you have created, and [Net Revenue] field is not related anyway.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 17:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-retrieve-previous-dimension-variable/m-p/337659#M124537</guid>
      <dc:creator>ektarathi</dc:creator>
      <dc:date>2012-08-03T17:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: To retrieve previous dimension variable</title>
      <link>https://community.qlik.com/t5/QlikView/To-retrieve-previous-dimension-variable/m-p/337660#M124538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ekrathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are rite i am trying to get a relation between the variable V_Month and field Month_Booked. the reason being field month booked could have null values for a particular month Feb as there could have been no bookings on that month for a particular product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case i want to show actual revenues and projected revenues hence i had to use a variable to create all months.&lt;/P&gt;&lt;P&gt;in a month where i have no revenue actual would be 0 and projected could be 20% of previous months actual revenue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isnt there any way you can retrieve previous columns field value and then sum the revenues for each row if previous columns value = month booked???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Aug 2012 05:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-retrieve-previous-dimension-variable/m-p/337660#M124538</guid>
      <dc:creator />
      <dc:date>2012-08-05T05:43:27Z</dc:date>
    </item>
  </channel>
</rss>

