<?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: making dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184673#M881939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date(Your Variable,'YYYY')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2016 06:46:10 GMT</pubDate>
    <dc:creator>susovan</dc:creator>
    <dc:date>2016-09-28T06:46:10Z</dc:date>
    <item>
      <title>making dates</title>
      <link>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184671#M881937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my Master Calendar I have&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;This displays as :- &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138949_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;but when I create a variable for Current Year it displays like this?:-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/138956_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;why does vYear_Current not show as a year?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184671#M881937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: making dates</title>
      <link>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184672#M881938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the expression your using for defining for the vYear_Current ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 06:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184672#M881938</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-09-28T06:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: making dates</title>
      <link>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184673#M881939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date(Your Variable,'YYYY')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 06:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184673#M881939</guid>
      <dc:creator>susovan</dc:creator>
      <dc:date>2016-09-28T06:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: making dates</title>
      <link>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184674#M881940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vYear_Current&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()); &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 06:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184674#M881940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T06:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: making dates</title>
      <link>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184675#M881941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Laura, The reason is that LET expression. Try to take text object and then try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(&lt;STRONG style="font-family: inherit; font-style: inherit; font-size: 10pt;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;vYear_Current)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;='$(&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit; font-size: 10pt; font-style: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;vYear_Current)'&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: inherit; font-size: 10pt; font-style: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: inherit; font-size: 10pt; font-style: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;OR in script&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: inherit; font-size: 10pt; font-style: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: inherit; font-size: 10pt; font-style: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;Load TempDate, Year(TempDate) as vYear_Current Inline [&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: inherit; font-size: 10pt; font-style: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;TempDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: inherit; font-size: 10pt; font-style: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;01-01-2000];&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 06:55:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184675#M881941</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-28T06:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: making dates</title>
      <link>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184676#M881942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use year(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vYear_Current)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 07:01:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184676#M881942</guid>
      <dc:creator>florentina_doga</dc:creator>
      <dc:date>2016-09-28T07:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: making dates</title>
      <link>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184677#M881943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried all three with no luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 07:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184677#M881943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T07:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: making dates</title>
      <link>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184678#M881944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahaha, Would you share the application. For me it's working good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 07:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184678#M881944</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-28T07:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: making dates</title>
      <link>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184679#M881945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10.6667px; font-family: inherit;"&gt;Hi Try this May be &lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10.6667px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10.6667px; font-family: inherit;"&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;vYear_Current&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = right(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;()),4)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 07:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184679#M881945</guid>
      <dc:creator>qlikview979</dc:creator>
      <dc:date>2016-09-28T07:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: making dates</title>
      <link>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184680#M881946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the reason for me wanting to use current year is so that when it comes to month end,&amp;nbsp; I can revert back to last month for month End Reports.&amp;nbsp; i.e. this is a data sample .&amp;nbsp; I simply count all leads for the Week;Month;Year.&amp;nbsp; I need the CurrentMonth Variable for year to be '2015'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138962_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 07:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184680#M881946</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T07:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: making dates</title>
      <link>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184681#M881947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your expression for the variable is correct, so there is no need to change anything there. The values of vYear_current in the list box were not produced by that expression as they are dates, whereas the expression returns just the year number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is some confusion though - you cannot show a variable (which has a single value) in a list box. So it seems you have a variable &lt;SPAN style="font-size: 13.3333330154419px;"&gt;vYear_current AND a field named &lt;SPAN style="font-size: 13.3333330154419px;"&gt;vYear_current and the list box is displaying the &lt;EM&gt;field&lt;/EM&gt; values. There is no relationship between the &lt;SPAN style="font-size: 13.3333330154419px;"&gt;variable &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;vYear_current and the field &lt;SPAN style="font-size: 13.3333330154419px;"&gt;vYear_current.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 07:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/making-dates/m-p/1184681#M881947</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-09-28T07:42:08Z</dc:date>
    </item>
  </channel>
</rss>

