<?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 Date function expression with variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-function-expression-with-variable/m-p/756173#M1035156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable "vDateFunction" with the following expression:&lt;/P&gt;&lt;P&gt;= date(yearstart(makedate(((($1 - fmod($1,1000)) / 1000) + 1900))) + (fmod($1,1000) - 1)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to use this variable and fill in a date field ([Date - Beginning Effective]") at the $1:&lt;/P&gt;&lt;P&gt;=$(vDateFunction(=[Date - Beginning Effective]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it doesn't work.. I have tried a lot of different alternatives but I just don't get it working!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2015 16:40:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-08T16:40:37Z</dc:date>
    <item>
      <title>Date function expression with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Date-function-expression-with-variable/m-p/756173#M1035156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable "vDateFunction" with the following expression:&lt;/P&gt;&lt;P&gt;= date(yearstart(makedate(((($1 - fmod($1,1000)) / 1000) + 1900))) + (fmod($1,1000) - 1)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to use this variable and fill in a date field ([Date - Beginning Effective]") at the $1:&lt;/P&gt;&lt;P&gt;=$(vDateFunction(=[Date - Beginning Effective]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it doesn't work.. I have tried a lot of different alternatives but I just don't get it working!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 16:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-function-expression-with-variable/m-p/756173#M1035156</guid>
      <dc:creator />
      <dc:date>2015-01-08T16:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Date function expression with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Date-function-expression-with-variable/m-p/756174#M1035157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-01-08 18_09_14-Greenshot.png" class="image-1 jive-image" src="/legacyfs/online/74868_2015-01-08 18_09_14-Greenshot.png" style="height: 126px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 17:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-function-expression-with-variable/m-p/756174#M1035157</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-01-08T17:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Date function expression with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Date-function-expression-with-variable/m-p/756175#M1035158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did u try taking the equal sign out of your variable definition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;date(yearstart(makedate(((($1 - fmod($1,1000)) / 1000) + 1900))) + (fmod($1,1000) - 1))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Then see if it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 17:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-function-expression-with-variable/m-p/756175#M1035158</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2015-01-08T17:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date function expression with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Date-function-expression-with-variable/m-p/756176#M1035159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you're absolutely right... just remove the = sign in the variable... did not think of that! So thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jan 2015 19:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-function-expression-with-variable/m-p/756176#M1035159</guid>
      <dc:creator />
      <dc:date>2015-01-11T19:55:19Z</dc:date>
    </item>
  </channel>
</rss>

