<?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: Get current year through last complete month in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Get-current-year-through-last-complete-month/m-p/1511516#M36473</link>
    <description>Can you please share sample application which demon the issue?</description>
    <pubDate>Fri, 23 Nov 2018 11:23:12 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-11-23T11:23:12Z</dc:date>
    <item>
      <title>Get current year through last complete month</title>
      <link>https://community.qlik.com/t5/App-Development/Get-current-year-through-last-complete-month/m-p/1511225#M36466</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;I have a &lt;STRONG&gt;CurrentYearToDate&lt;/STRONG&gt; variable in my script that goes like this:&lt;/P&gt;&lt;P&gt;LET vSetCurrentYearToDate = 'Calendar_YearMonth_Seq = {"&amp;gt;=' &amp;amp; Chr(36) &amp;amp; '(=Min({1&amp;lt;Calendar_Year = {"' &amp;amp; Chr(36) &amp;amp; '(=RangeMin(Year(Today()),Max(Calendar_Year)))"}&amp;gt;} Calendar_YearMonth_Seq))&amp;lt;=' &amp;amp; Chr(36) &amp;amp; '(=RangeMin(Max(Calendar_YearMonth_Seq),Max({1&amp;lt;Calendar_Date={"&amp;lt;=' &amp;amp; Chr(36) &amp;amp; '(=Today())"}&amp;gt;} Calendar_YearMonth_Seq)))"},' &amp;amp; Chr(10) &amp;amp;&lt;BR /&gt;'Calendar_Date = {"&amp;lt;=' &amp;amp; Chr(36) &amp;amp; '(=Date(RangeMin(Max(Calendar_Date),Max({1&amp;lt;Calendar_Date={"&amp;lt;=' &amp;amp; Chr(36) &amp;amp; '(=Today())"}&amp;gt;} Calendar_Date))))"},' &amp;amp; Chr(10) &amp;amp;&lt;BR /&gt;'Calendar_Year = ,' &amp;amp; Chr(10) &amp;amp;&lt;BR /&gt;'Calendar_MonthDesc = ,' &amp;amp; Chr(10) &amp;amp;&lt;BR /&gt;'Calendar_Month = ,' &amp;amp; Chr(10) &amp;amp;&lt;BR /&gt;'Calendar_YearMonthDescShort =';&lt;BR /&gt;&lt;BR /&gt;But now I want to tweak this formula so it gives me all dates of this year until last complete month.&lt;BR /&gt;We are in November, so I want dates from January 2018 to October 2018.&lt;/P&gt;&lt;P&gt;How can I accomplish this in the variable?&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:50:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-current-year-through-last-complete-month/m-p/1511225#M36466</guid>
      <dc:creator>valpassos</dc:creator>
      <dc:date>2024-11-16T21:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get current year through last complete month</title>
      <link>https://community.qlik.com/t5/App-Development/Get-current-year-through-last-complete-month/m-p/1511254#M36467</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try changing:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'Calendar_Date = {"&amp;lt;=' &amp;amp; Chr(36) &amp;amp; '(=Date(RangeMin(Max(Calendar_Date),Max({1&amp;lt;Calendar_Date={"&amp;lt;=' &amp;amp; Chr(36) &amp;amp; '(=Today())"}&amp;gt;} Calendar_Date))))"},' &amp;amp; Chr(10) &amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'Calendar_Date = {"&amp;lt;' &amp;amp; Chr(36) &amp;amp; '(=Date(MonthStart(Today()))"},' &amp;amp; Chr(10) &amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 17:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-current-year-through-last-complete-month/m-p/1511254#M36467</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-11-22T17:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get current year through last complete month</title>
      <link>https://community.qlik.com/t5/App-Development/Get-current-year-through-last-complete-month/m-p/1511483#M36472</link>
      <description>&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;That doesn't seem to work. When I use the expression in the set analysis, as in &lt;STRONG&gt;sum({&amp;lt;$(vSetCurrentYearToFullMonth)&amp;gt;} #Units)&lt;/STRONG&gt;, it gives me an '-', which means there is something wrong either with the syntax or logic of the formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 10:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-current-year-through-last-complete-month/m-p/1511483#M36472</guid>
      <dc:creator>valpassos</dc:creator>
      <dc:date>2018-11-23T10:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get current year through last complete month</title>
      <link>https://community.qlik.com/t5/App-Development/Get-current-year-through-last-complete-month/m-p/1511516#M36473</link>
      <description>Can you please share sample application which demon the issue?</description>
      <pubDate>Fri, 23 Nov 2018 11:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-current-year-through-last-complete-month/m-p/1511516#M36473</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-11-23T11:23:12Z</dc:date>
    </item>
  </channel>
</rss>

