<?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 Need help in correcting the formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344434#M821522</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 need help in calculating an expression called 'Needed AWS to hit the Goal'. Please find the formaula below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Needed AWS to hit the Goal] = ([Total Goal] - [Running sum of Sales])/[Remaining Weeks]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Total Goal = Sum(Goal)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Running sum of Sales = sum(Sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Suppose if I select Apr in month filter then the sum(sales) should take values from Jan till Apr. I am not able to achieve this. Please help me to achieve this as well. Similarly if i select Mar it should take values from Jan to Mar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remaining Weeks = avg([No . of Weeks])&amp;nbsp; //&amp;nbsp; Ex. if i select Apr the remaining weeks would be avg of [No . of Weeks] for May.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The graph should show up values as below image.( the below image is from tableau)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="172356" alt="run rate.JPG" class="jive-image image-1" src="/legacyfs/online/172356_run rate.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I want to display AWS staring from Jan to month selected. Ex. If I select Apr i want to show AWS from Jan to APR and if i select Mar then AWS should show from Jan to MAR only. All other values should be blank as shown in the above picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarly, I want to display [Needed AWS to hit the Goal] as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex. If I select Apr i want to show [Needed AWS to hit the Goal] from May to Jun.(Forecasted values)&amp;nbsp;&amp;nbsp; // Note : data is only till June&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have calculations and graph in place. However i just need your help to correct the formula to get the correct values as below&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>farheenayesha</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Need help in correcting the formula</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344434#M821522</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 need help in calculating an expression called 'Needed AWS to hit the Goal'. Please find the formaula below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Needed AWS to hit the Goal] = ([Total Goal] - [Running sum of Sales])/[Remaining Weeks]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Total Goal = Sum(Goal)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Running sum of Sales = sum(Sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Suppose if I select Apr in month filter then the sum(sales) should take values from Jan till Apr. I am not able to achieve this. Please help me to achieve this as well. Similarly if i select Mar it should take values from Jan to Mar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remaining Weeks = avg([No . of Weeks])&amp;nbsp; //&amp;nbsp; Ex. if i select Apr the remaining weeks would be avg of [No . of Weeks] for May.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The graph should show up values as below image.( the below image is from tableau)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="172356" alt="run rate.JPG" class="jive-image image-1" src="/legacyfs/online/172356_run rate.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I want to display AWS staring from Jan to month selected. Ex. If I select Apr i want to show AWS from Jan to APR and if i select Mar then AWS should show from Jan to MAR only. All other values should be blank as shown in the above picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarly, I want to display [Needed AWS to hit the Goal] as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex. If I select Apr i want to show [Needed AWS to hit the Goal] from May to Jun.(Forecasted values)&amp;nbsp;&amp;nbsp; // Note : data is only till June&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have calculations and graph in place. However i just need your help to correct the formula to get the correct values as below&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344434#M821522</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in correcting the formula</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344435#M821523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Sum(Sales) - Sum({&amp;lt;Month = {"&amp;gt;=$(=Min(Month)) &amp;lt;=$(=Max(Month))"}&amp;gt;}Sales)) / &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg({&amp;lt;Month = {"&amp;gt;=$(=Max(Month))"}&amp;gt;}[No. of Weeks])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 10:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344435#M821523</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-03T10:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in correcting the formula</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344436#M821524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your Quick Response. &lt;/P&gt;&lt;P&gt;Using your expression i am not getting running sales and remaining values correctly . Please find the snap shot below. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="run rate 1.JPG" class="jive-image image-1" src="/legacyfs/online/172370_run rate 1.JPG" style="height: 311px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I want to get running sales as 84,967,076 and remaining weeks as 9. Please find second excel sheet attached&amp;nbsp; for the reference in the main post.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Please help me to get the values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 10:51:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344436#M821524</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2017-08-03T10:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in correcting the formula</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344437#M821525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;May be this for [Running Sales] ?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Month = {"&amp;gt;=$(=Min(Month)) &amp;lt;=$(=Max(Month))"}, Year = {'$(=Max(Year))'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 10:56:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344437#M821525</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-03T10:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in correcting the formula</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344438#M821526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately getting the same incorrect result &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 11:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344438#M821526</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2017-08-03T11:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in correcting the formula</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344439#M821527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I know that. Please provide application if possible as short (300 KB - Max)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 11:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344439#M821527</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-03T11:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in correcting the formula</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344440#M821528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please find the reduced qvw file attached in the main post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 11:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344440#M821528</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2017-08-03T11:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in correcting the formula</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344441#M821529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you need &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;84,967,076? That number will be Accumulation of Accumulation? I just don't see a point of doing this?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 12:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344441#M821529</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-03T12:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in correcting the formula</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344442#M821530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunnny,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I may be wrong as well. I am just trying to achieve 'Needed AWS to hit the goal' as 5173433 for May, when APR is selected. Please refer the runrate excel file and the above image in main post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 13:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344442#M821530</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2017-08-03T13:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in correcting the formula</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344443#M821531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check it out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172384_Capture.PNG" style="height: 188px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 14:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344443#M821531</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-03T14:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in correcting the formula</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344444#M821532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running Sales expression should be&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Month={'&amp;gt;=$(=min({1}Month))&amp;lt;=$(=max(Month))'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 17:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344444#M821532</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2017-08-03T17:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in correcting the formula</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344445#M821533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;                Thank you so much for your help. You are super genius. I am not able to reply on your post hence replying from here. Thank you so much once again. I am not able to mark you answer as correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ayeesha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 09:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344445#M821533</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2017-08-07T09:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in correcting the formula</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344446#M821534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sripad for your help. Your expression for running sales works perfect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 11:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-correcting-the-formula/m-p/1344446#M821534</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2017-08-07T11:25:59Z</dc:date>
    </item>
  </channel>
</rss>

