<?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 Season year code? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Season-year-code/m-p/1554215#M440525</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to combine the last 2 numbers from the year with the first character of the season.&lt;/P&gt;&lt;P&gt;For example: W19, S19&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm usising following code:&lt;/P&gt;&lt;P&gt;='W'&amp;amp;max(right(num( Year(AddMonths(Today(),-1)) ),2))&lt;/P&gt;&lt;P&gt;This works, but when I create a variable of it, the result is "-".&amp;nbsp; Very strange because it's the same code as the expression.&lt;/P&gt;&lt;P&gt;My variable&amp;nbsp;Seizoenscode :&lt;/P&gt;&lt;P&gt;='W'&amp;amp;max(right(num( Year(AddMonths(Today(),-1)) ),2))&lt;/P&gt;&lt;P&gt;The set analyses I want to use the variable:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seizoenscode={$(=$(vSeizoencodeCY))}&lt;/P&gt;&lt;P&gt;Anyone who knows how I can fix this?&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2019 12:49:15 GMT</pubDate>
    <dc:creator>Thomas94</dc:creator>
    <dc:date>2019-03-08T12:49:15Z</dc:date>
    <item>
      <title>Season year code?</title>
      <link>https://community.qlik.com/t5/QlikView/Season-year-code/m-p/1554215#M440525</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to combine the last 2 numbers from the year with the first character of the season.&lt;/P&gt;&lt;P&gt;For example: W19, S19&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm usising following code:&lt;/P&gt;&lt;P&gt;='W'&amp;amp;max(right(num( Year(AddMonths(Today(),-1)) ),2))&lt;/P&gt;&lt;P&gt;This works, but when I create a variable of it, the result is "-".&amp;nbsp; Very strange because it's the same code as the expression.&lt;/P&gt;&lt;P&gt;My variable&amp;nbsp;Seizoenscode :&lt;/P&gt;&lt;P&gt;='W'&amp;amp;max(right(num( Year(AddMonths(Today(),-1)) ),2))&lt;/P&gt;&lt;P&gt;The set analyses I want to use the variable:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seizoenscode={$(=$(vSeizoencodeCY))}&lt;/P&gt;&lt;P&gt;Anyone who knows how I can fix this?&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 12:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Season-year-code/m-p/1554215#M440525</guid>
      <dc:creator>Thomas94</dc:creator>
      <dc:date>2019-03-08T12:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Season year code?</title>
      <link>https://community.qlik.com/t5/QlikView/Season-year-code/m-p/1554267#M440532</link>
      <description>try to add variable as 'W'&amp;amp;max(right(num( Year(AddMonths(Today(),-1)) ),2)) without '=' sign and then you can use as $(variable)</description>
      <pubDate>Fri, 08 Mar 2019 13:54:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Season-year-code/m-p/1554267#M440532</guid>
      <dc:creator>vijetas42</dc:creator>
      <dc:date>2019-03-08T13:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Season year code?</title>
      <link>https://community.qlik.com/t5/QlikView/Season-year-code/m-p/1554880#M440592</link>
      <description>It worked! Thank you for your help</description>
      <pubDate>Mon, 11 Mar 2019 13:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Season-year-code/m-p/1554880#M440592</guid>
      <dc:creator>Thomas94</dc:creator>
      <dc:date>2019-03-11T13:45:32Z</dc:date>
    </item>
  </channel>
</rss>

