<?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: Re: Displaying current YTD value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585333#M217222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks My QV - the dimension I have is Fiscal month and some calculated dimensions just to get department, employee so on. I tried what you suggested and no luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 May 2014 20:15:21 GMT</pubDate>
    <dc:creator>wossenhh</dc:creator>
    <dc:date>2014-05-01T20:15:21Z</dc:date>
    <item>
      <title>Displaying current YTD value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585321#M217210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a problem showing the current value. Here is my question. Every month I am loading a payroll file for employee and with some calculation to show the Max value of employee’s on dashboard. As you can see below the base rate of employee A is 100 and for Jan, Feb, Mar there was no problem the Max YTD value shows correctly. The problem happened on April for some reason, Employee A reduced some amount (in this case $150.00) and shown as 250. So for April report QV shows, the Max value as 300 which is correct, however, I want to see the current value which is 250 for April. I was suggested to use Last Value function, and it didn’t work. Any help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YTD Earning&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month&lt;/P&gt;&lt;P&gt;A&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; 100&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; Jan&lt;/P&gt;&lt;P&gt;A&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; 200&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; Feb&lt;/P&gt;&lt;P&gt;A&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; 300&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; Mar&lt;/P&gt;&lt;P&gt;A&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; 250&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; Apr&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;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Wossen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 16:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585321#M217210</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2014-05-01T16:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying current YTD value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585322#M217211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't understand your actual question.&lt;/P&gt;&lt;P&gt;If you have month wise payment, something like below&lt;/P&gt;&lt;P&gt;Jan 100&lt;/P&gt;&lt;P&gt;Feb 100&lt;/P&gt;&lt;P&gt;Mar 100&lt;/P&gt;&lt;P&gt;Apr 50&lt;/P&gt;&lt;P&gt;and you want cumulative total&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a straight table&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;P&gt;1) SUM(Payment)&lt;/P&gt;&lt;P&gt;2) RangeSum(Above(Sum(Payment),0,RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this will not solve your problem, kindly update your sample file along with your desired result. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 18:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585322#M217211</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-05-01T18:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying current YTD value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585323#M217212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Sorry and let me clarify it again. The base salary for the employee A is $100.00. And Year-to-date salary in April supposed to be (100 + 100 + 100 + 100 ) $400. However, as I have said it previously employee A's salary has to be reversed for the amount of $150 in April and as a result of this it has shown the amount of $250 so I had the expression as Max([YTD Earning]) and was working well but not for employee A. Because it shown the amount 300. So my question is how can I able reflect the April amount for employee A? I hope it is clear now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Wossen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 18:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585323#M217212</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2014-05-01T18:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying current YTD value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585324#M217213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide little sample data in excel along with your required result ?&lt;/P&gt;&lt;P&gt;May be &lt;/P&gt;&lt;P&gt;Aggr(Max([YTD Earning]),Employee)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 18:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585324#M217213</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-05-01T18:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Displaying current YTD value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585325#M217214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't able to use Agg function as the salary amount shows year to date. Here I attached the excel file and the required result is how to show the month of April data. Every month I load the payroll file and working hours files from Time system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 18:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585325#M217214</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2014-05-01T18:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying current YTD value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585326#M217215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But why is YTD Earning of A in April is 250 ? &lt;/P&gt;&lt;P&gt;Where you have reflected the -50 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 18:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585326#M217215</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-05-01T18:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Displaying current YTD value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585327#M217216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because $150 had reversed from employee A for some reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 18:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585327#M217216</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2014-05-01T18:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying current YTD value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585328#M217217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it but how you are reflecting that in your data model. Is there any reserved amount column or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 19:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585328#M217217</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-05-01T19:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Displaying current YTD value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585329#M217218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know when you said reserved amount column. The YTD Earning column is in Fact table. In my data model I have two tables, which are Fact table and Calendar table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 19:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585329#M217218</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2014-05-01T19:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Displaying current YTD value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585330#M217219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me explain you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said&amp;nbsp; that for A in April there is an amount of 150 as reserved. You knows that... but if someone say myself, check your data model, how can get the information that this amount is reserved for A in April Month?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this moment, you remembered but what if you have 1000 employees and there are certain amount reserved for different employees in different months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should be fields in your data models as below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee, Month, Salary, Reserved Amount&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 19:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585330#M217219</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-05-01T19:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Displaying current YTD value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585331#M217220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you meant reversed when you say reserved. This was happened just for this month, and the money has reversed from employee A. Does this might happen in the future? who knows it might....but I am sure there will be a trick to reflect the amount in QV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 19:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585331#M217220</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2014-05-01T19:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying current YTD value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585332#M217221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not sure what exactly your data looks like, assuming its same as you provided sample and your chart is with dimension employee and expression as latest salary &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exp: max({&amp;lt;Month={"$(=Date(max(Date#(Month,'MMM')),'MMM'))"}&amp;gt;}[YTD Earning])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 19:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585332#M217221</guid>
      <dc:creator />
      <dc:date>2014-05-01T19:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Displaying current YTD value</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585333#M217222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks My QV - the dimension I have is Fiscal month and some calculated dimensions just to get department, employee so on. I tried what you suggested and no luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 20:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-current-YTD-value/m-p/585333#M217222</guid>
      <dc:creator>wossenhh</dc:creator>
      <dc:date>2014-05-01T20:15:21Z</dc:date>
    </item>
  </channel>
</rss>

