<?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 calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659442#M729118</link>
    <description>&lt;P&gt;i'm posting the question right away&lt;/P&gt;</description>
    <pubDate>Thu, 19 Dec 2019 15:33:43 GMT</pubDate>
    <dc:creator>saichawan</dc:creator>
    <dc:date>2019-12-19T15:33:43Z</dc:date>
    <item>
      <title>YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658968#M729095</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the code below which calculates the current year rolling sales and lasy year rolling sales. i'm not able to do the same for ytd calculation in the same code. i have filter of view with option of (rolling and ytd). if select rolling from the filter i can sales in text object with current year rolling sales and last year rolling sales. I want the same to be calculated for YTD.&lt;/P&gt;&lt;P&gt;Attaching you the QVW file and aslo the code for rolling calculation.&lt;/P&gt;&lt;P&gt;='Current Year:'&amp;amp; Num((Sum({&amp;lt;week = {"&amp;gt;=$(vMinDate)&amp;lt;=$(vMaxdate)"}&amp;gt;} NET_SLS_AMT)/1000000),'##.00')&lt;BR /&gt;&amp;amp; ' Last Year:'&amp;amp;num((((Sum({&amp;lt;week = {"&amp;gt;=$(vRollingStart)&amp;lt;=$(vRollingEnd)"},Period=&amp;gt;} NET_SLS_AMT)/1000000)&lt;BR /&gt;-&lt;BR /&gt;Sum({&amp;lt;week = {"&amp;gt;=$(vRollingStart)&amp;lt;=$(vRollingEnd)"},Period= {'LYTD'}&amp;gt; } NET_SLS_AMT)/1000000)),'##.00')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658968#M729095</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658982#M729096</link>
      <description>&lt;P&gt;What purposely you are creating many duplicate threads? Original Thread&amp;nbsp;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/Calculating-rate-of-sale/m-p/1658863#M384782" target="_blank"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 12:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658982#M729096</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-18T12:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658985#M729097</link>
      <description>&lt;P&gt;Would you be able to provide a dashboard where we can see just the objects we are looking at and with a single tab? Right now, everytime I open this dashboard I have to spend time looking to see if I can find what you are referring to or ask you what it is. In general it will be easy for us to help if you do certain things to make it easy for us to help you such as&lt;/P&gt;&lt;P&gt;1) Provide the expected output based on selections and no selections&lt;/P&gt;&lt;P&gt;2) Provide just the charts/list boxes that we need to look at&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 12:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658985#M729097</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-18T12:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658986#M729098</link>
      <description>&lt;P&gt;it happend through mistake&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 12:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658986#M729098</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-18T12:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658989#M729099</link>
      <description>&lt;P&gt;sorry for the inconvinence.&lt;/P&gt;&lt;P&gt;in the summary tab,i have a revenue text object. if i select rolling from the filter the values are getting as per requirement. but when i select YTD from filter . only the current year values are getting displaced not the last year values.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 13:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658989#M729099</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-18T13:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658990#M729100</link>
      <description>&lt;P&gt;QVW file&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 13:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658990#M729100</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-18T13:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658992#M729101</link>
      <description>&lt;P&gt;What would you want to see when you select YTD for Last Year?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 13:13:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1658992#M729101</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-18T13:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659000#M729102</link>
      <description>&lt;P&gt;Current year YTD and last year YTD. Right I'm getting values for rolling. If i select rolling from the view filter i get current year rolling revenue and last year rolling revenue. I'm hoping the same for YTD. i select YTD from view filter then in the text object of revenue. It should be displayed as current year YTD revenue and last year YTD revenue.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 13:21:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659000#M729102</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-18T13:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659022#M729103</link>
      <description>&lt;P&gt;I have been trying really hard to help, but I am not able to get the information from you to help. Unless you can clearly give me what you want, I will have to let someone else help you out here.&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Sunny&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 14:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659022#M729103</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-18T14:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659032#M729104</link>
      <description>&lt;P&gt;i'm really sorry for this miss coummincation.&lt;/P&gt;&lt;P&gt;now in the dashboard, i have three tabs. i'm concerned about the summary tab. In the summary i have a text object called revenue. as per code of the text object revenue, if select rolling from the view filter and Cy_rolling_12m from period fillter. i get current year revenue and last year revenue in the revenue text object. now if i select YTD from view filter you can see that last year revenue is always zero. i'm looking for the same output as the one when i select rolling from the view filter but for YTD revenue.&amp;nbsp; i select YTD from the view filter and CYTD or LYTD from period filter. i should be getting what is the current year YTD and last year YTD in the revenue text object&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 14:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659032#M729104</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-18T14:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659046#M729105</link>
      <description>&lt;P&gt;QVW file&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 14:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659046#M729105</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-18T14:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659073#M729106</link>
      <description>&lt;P&gt;was my last message clear,i gotta deliver by tomorrow. any help will do wonder for me. Do you want me to share qvw file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 16:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659073#M729106</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-18T16:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659405#M729107</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/92105"&gt;@saichawan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just a little note , if I understand correctly.&lt;BR /&gt;The basis of the calculations here is the two variables vMindate and vMaxdate.&lt;BR /&gt;which displays the following values :&lt;/P&gt;&lt;P&gt;while in Revenue you search for 'current year' and 'last year'.&lt;/P&gt;&lt;P&gt;when you do vMindate it's the minimum value which is not necessarily the current year, but rather the minimum of all dates in the weeks field.&lt;/P&gt;&lt;P&gt;and in Last year there is a value minus another one with the same logic of min and max so two similar values with a minus it gives directly a 0 in Last Year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 589px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25791i76EF0784E5002E5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 13:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659405#M729107</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2019-12-19T13:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659406#M729108</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Thank you for your extended support, i had a review meeting today for the dashboard. they dont want period as a filter in the dashoard. there should be only filter of view consisting rolling and ytd. Now suppose i select rolling from view filtre then in the text object of revenue. i should get rolling current year revene and rolling last year revenue and if i select YTD from view filter then in the revenue text object it should be current year YTD revenue and last year YTD revenue. To the question you asked i think the logic doesnt fit. This is the requriment, can you help me on this please.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 13:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659406#M729108</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-19T13:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659413#M729109</link>
      <description>&lt;P&gt;I don't know if the attached version can help you.&lt;BR /&gt;I have replaced the vMin and vMax by current year and last year&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 13:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659413#M729109</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2019-12-19T13:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659428#M729110</link>
      <description>&lt;P&gt;with the version that i have both the view and period as filter. but now i need select only from view filter to get my rolling current year and last year sales aslo current ytd and last year ytd.&lt;/P&gt;&lt;P&gt;Attaching you the new refrence also the data&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 14:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659428#M729110</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-19T14:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659429#M729111</link>
      <description>&lt;P&gt;DATA&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 14:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659429#M729111</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-19T14:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659439#M729113</link>
      <description>&lt;P&gt;Is this a new need? Is the original problem solved?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 15:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659439#M729113</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2019-12-19T15:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659440#M729115</link>
      <description>&lt;P&gt;Yes, but they dont want the filter of period, they want me to calcualte it from view filter itself.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 15:27:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659440#M729115</guid>
      <dc:creator>saichawan</dc:creator>
      <dc:date>2019-12-19T15:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659441#M729117</link>
      <description>&lt;P&gt;if it's solved, I think it will be better for other users to mark the solution and close the topic, then open a new one with the new need, and it will be a pleasure to help you on this point.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 15:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/1659441#M729117</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2019-12-19T15:31:53Z</dc:date>
    </item>
  </channel>
</rss>

