<?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/1676639#M727936</link>
    <description>&lt;P&gt;depending on the case &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;for me there is only one YTD e.g. for your case count (Sales) from the current year i.e. 2020 until the last Sales in the current year (today)&lt;/P&gt;&lt;P&gt;I have met other people with a different meaning of YTD !!&lt;/P&gt;&lt;P&gt;so to secure your loading I suggest you to add in the loading script&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;load 
...
Date(Date#(MonthYear,'MMM-YY'),'MMM-YY') as Month,

..&lt;/LI-CODE&gt;&lt;P&gt;MonthYear is a field with Aug-19, Sep-19......Jan-20.&lt;/P&gt;&lt;P&gt;So the YTD :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=count({&amp;lt;Month= {"&amp;gt;=$(=Date(Makedate(Year(today()),1,1),'MMM-YY'))&amp;lt;=$(=Date(today(),'MMM-YY'))"}&amp;gt; } Sales)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2020 12:37:11 GMT</pubDate>
    <dc:creator>Taoufiq_Zarra</dc:creator>
    <dc:date>2020-02-18T12:37:11Z</dc:date>
    <item>
      <title>YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1676612#M727935</link>
      <description>&lt;P&gt;Hi all ,&lt;/P&gt;&lt;P&gt;I have Month column as Aug-19, Sep-19......Jan-20.&lt;/P&gt;&lt;P&gt;Now I have taken dimension&amp;nbsp; month as Month and expression as Count(sales)&lt;/P&gt;&lt;P&gt;Nowi need to show as YTD calculation , how to do ? can anyone please help&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1676612#M727935</guid>
      <dc:creator>qlikapple</dc:creator>
      <dc:date>2024-11-16T01:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1676639#M727936</link>
      <description>&lt;P&gt;depending on the case &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;for me there is only one YTD e.g. for your case count (Sales) from the current year i.e. 2020 until the last Sales in the current year (today)&lt;/P&gt;&lt;P&gt;I have met other people with a different meaning of YTD !!&lt;/P&gt;&lt;P&gt;so to secure your loading I suggest you to add in the loading script&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;load 
...
Date(Date#(MonthYear,'MMM-YY'),'MMM-YY') as Month,

..&lt;/LI-CODE&gt;&lt;P&gt;MonthYear is a field with Aug-19, Sep-19......Jan-20.&lt;/P&gt;&lt;P&gt;So the YTD :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=count({&amp;lt;Month= {"&amp;gt;=$(=Date(Makedate(Year(today()),1,1),'MMM-YY'))&amp;lt;=$(=Date(today(),'MMM-YY'))"}&amp;gt; } Sales)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 12:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1676639#M727936</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-02-18T12:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1687431#M727937</link>
      <description>&lt;P&gt;Did Taoufiq's post get you what you needed for your use case?&amp;nbsp; If so, please do not forget to return to your thread and on his post, use the Accept as Solution button to mark that as the solution to give him credit for the help and let other Members know that worked.&amp;nbsp; If you did something else, consider posting that and then mark it, and if you are still working on things, please leave an update.&amp;nbsp; We prefer to have posts properly closed out if they are solved, so please consider following up on things for us.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 18:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1687431#M727937</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-03-24T18:43:33Z</dc:date>
    </item>
  </channel>
</rss>

