<?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: Calendar Object with Variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calendar-Object-with-Variable/m-p/1778687#M590929</link>
    <description>&lt;P&gt;Thanks Vegar! It's works! &lt;span class="lia-unicode-emoji" title=":ok_hand:"&gt;👌&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 31 Jan 2021 10:42:22 GMT</pubDate>
    <dc:creator>Corona7</dc:creator>
    <dc:date>2021-01-31T10:42:22Z</dc:date>
    <item>
      <title>Calendar Object with Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Object-with-Variable/m-p/1778667#M590925</link>
      <description>&lt;P&gt;Hi, I set a variable in my load script and i want use it in a calendar objetc ad in expressions.&lt;/P&gt;&lt;P&gt;Let Data_riferimento = date(today(0).'DD/MM/YYYY');&lt;/P&gt;&lt;P&gt;When i use the variable in my Calendar Object is show correctly&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Corona7_0-1612048762963.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48033iFC597B73C3950CD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Corona7_0-1612048762963.png" alt="Corona7_0-1612048762963.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine.jpg" style="width: 310px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48035i6B8BD0FB0AA5535B/image-dimensions/310x285?v=v2" width="310" height="285" role="button" title="Immagine.jpg" alt="Immagine.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but after the load script and i use the variable in an expression it's no working&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Corona7_1-1612048805227.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48034iDEF9CE2DAA5A4CA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Corona7_1-1612048805227.png" alt="Corona7_1-1612048805227.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The first expression is&amp;nbsp; (year(date($(Data_riferimento),'DD/MM/YYYY'))) &amp;amp; ' (YTD)' and i expect 2021 instead 1899.&lt;/P&gt;&lt;P&gt;Only if i select le date on the calendar object the date then then expression works.&lt;/P&gt;&lt;P&gt;Where is my mistake ? I need that after the load the variable is equal the formula date(today(0).'DD/MM/YYYY') and the expression wotks correctly.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 23:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Object-with-Variable/m-p/1778667#M590925</guid>
      <dc:creator>Corona7</dc:creator>
      <dc:date>2021-01-30T23:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Object with Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Object-with-Variable/m-p/1778668#M590926</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134235"&gt;@Corona7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your expression, $() not required.&amp;nbsp; try like below&lt;/P&gt;&lt;P&gt;= (year(date(Data_riferimento,'DD/MM/YYYY')))&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 01:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Object-with-Variable/m-p/1778668#M590926</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-01-31T01:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Object with Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Object-with-Variable/m-p/1778678#M590927</link>
      <description>&lt;P&gt;I see two possible issues with your expression. Try this adjusted version.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;year(date#('$(Data_riferimento)' ,'DD/MM/YYYY')) &amp;amp; ' (YTD)'&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 07:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Object-with-Variable/m-p/1778678#M590927</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2021-01-31T07:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Object with Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Object-with-Variable/m-p/1778686#M590928</link>
      <description>&lt;P&gt;Thanks Mayil Vahanan, it's works! &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 10:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Object-with-Variable/m-p/1778686#M590928</guid>
      <dc:creator>Corona7</dc:creator>
      <dc:date>2021-01-31T10:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Object with Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Object-with-Variable/m-p/1778687#M590929</link>
      <description>&lt;P&gt;Thanks Vegar! It's works! &lt;span class="lia-unicode-emoji" title=":ok_hand:"&gt;👌&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2021 10:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Object-with-Variable/m-p/1778687#M590929</guid>
      <dc:creator>Corona7</dc:creator>
      <dc:date>2021-01-31T10:42:22Z</dc:date>
    </item>
  </channel>
</rss>

