<?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 Variable getting change??? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461333#M172240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This post quite been simple but getting trouble with this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared a variable in Document properties, like &lt;STRONG&gt;"=date(today())" &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="24339" class="jive-image-thumbnail jive-image" onclick="" alt="variable before.bmp" src="/legacyfs/online/24339_variable before.bmp" width="450" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After some days or subsequent reload the value is getting changed to some date, I wanted the value to be constant as &lt;STRONG&gt;"=date(today())". &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="24340" class="jive-image-thumbnail jive-image" onclick="" alt="variable after.bmp" src="/legacyfs/online/24340_variable after.bmp" width="450" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How could I resolve this???&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Many thanks in Advance...&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2012 06:17:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-10-29T06:17:39Z</dc:date>
    <item>
      <title>Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461333#M172240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This post quite been simple but getting trouble with this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared a variable in Document properties, like &lt;STRONG&gt;"=date(today())" &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="24339" class="jive-image-thumbnail jive-image" onclick="" alt="variable before.bmp" src="/legacyfs/online/24339_variable before.bmp" width="450" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After some days or subsequent reload the value is getting changed to some date, I wanted the value to be constant as &lt;STRONG&gt;"=date(today())". &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="24340" class="jive-image-thumbnail jive-image" onclick="" alt="variable after.bmp" src="/legacyfs/online/24340_variable after.bmp" width="450" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How could I resolve this???&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Many thanks in Advance...&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 06:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461333#M172240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-29T06:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461334#M172241</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;today() will itself return date in proper format, no need of date() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 06:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461334#M172241</guid>
      <dc:creator />
      <dc:date>2012-10-29T06:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461335#M172242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Today will return Current date and time ,obviously it will get change for every reload&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 07:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461335#M172242</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-10-29T07:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461336#M172243</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;Variables can contain numeric or alphanumeric data. If the first character of a variable value is an &lt;SPAN class="Italic"&gt;equals&lt;/SPAN&gt; sign ' = ' QlikView will try to evaluate the value as a formula (QlikView expression) and then display or return the &lt;STRONG&gt;result&lt;/STRONG&gt; rather than the actual &lt;STRONG&gt;formula text&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is why the value of your variable is date "10/09/2012" and not &lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;"=date(today())"&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Janzen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 07:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461336#M172243</guid>
      <dc:creator />
      <dc:date>2012-10-29T07:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461337#M172244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the response..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then how could i proceed with today() after reload also...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 07:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461337#M172244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-29T07:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461338#M172245</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;What do you mean? After reload, the value of the variable must be today()? When do you trigger your reload?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Janzen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 07:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461338#M172245</guid>
      <dc:creator />
      <dc:date>2012-10-29T07:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461339#M172246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whichver date u want u can hardcode it in var, for eg, if u always want to show 29/10/2012,use&lt;/P&gt;&lt;P&gt;var=date(41211)&lt;/P&gt;&lt;P&gt;So, even after u relaod after few days it will remain 29/10/2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to convert date to num,u can use: num(ur date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 07:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461339#M172246</guid>
      <dc:creator />
      <dc:date>2012-10-29T07:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461340#M172247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using that varible for my calender object so daily it should show the current date...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 07:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461340#M172247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-29T07:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461341#M172248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then u can simply use today() as ur variable value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 07:41:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461341#M172248</guid>
      <dc:creator />
      <dc:date>2012-10-29T07:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461342#M172249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to change the date variable based on the current date, then create a variable and assign&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Today()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as expression.&amp;nbsp; This automatically returns you current date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 08:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461342#M172249</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-10-29T08:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461343#M172250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya thanks yaar...&lt;/P&gt;&lt;P&gt;I am using that variable as calender object so whenever i change date in calender object automatically my variable =today() is changing to the some "10/09/2012" date...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i open for 10-Oct-2012 that "=today()" changing to to "10/09/2012" date subsequently if i open for 11-Oct-2012 it should change the today() date 11th OCT right?? but it is not changing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 10:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461343#M172250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-29T10:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461344#M172251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Today will take the system date &lt;/P&gt;&lt;P&gt;Whats your variable exactly want to do for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 11:13:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461344#M172251</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-10-29T11:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461345#M172252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;daily when i open the application the date should change to current date i.e.today..(as mentioned in the screenshot) but it not automatically changing to current date that is the exact problem.. I wanted the date to be 29th OCT but stil in 5th OCT...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since my variable is getting change it is adopt to that particular date(5th OCT) not as today()...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="24346" class="jive-image-thumbnail jive-image" onclick="" alt="upload.bmp" src="https://community.qlik.com/legacyfs/online/24346_upload.bmp" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 11:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461345#M172252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-29T11:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461346#M172253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont know how you are calling date field into calendar object but for me its coming&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;vToday=today()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 12:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461346#M172253</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-10-29T12:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Variable getting change???</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461347#M172254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, it makes a big difference if you declare your variable vToday with LET or SET.&lt;/P&gt;&lt;P&gt;If you declare it in your load script, you should use SET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vToday = today();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/21613"&gt;Magnus Åvitsland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Architect Consultant&lt;/P&gt;&lt;P&gt;&lt;A href="http://framsteg.com" target="_blank"&gt;Framsteg Business Intelligence Corp.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 12:04:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-getting-change/m-p/461347#M172254</guid>
      <dc:creator>magavi_framsteg</dc:creator>
      <dc:date>2012-10-29T12:04:44Z</dc:date>
    </item>
  </channel>
</rss>

