<?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: Can we restrict today function while opening dashboard in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-we-restrict-today-function-while-opening-dashboard/m-p/1054617#M353610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace all your today() calls in expressions with a $(vT&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;oday) expansion, and in the variable overview define &lt;SPAN style="font-family: 'courier new', courier;"&gt;vToday&lt;/SPAN&gt; as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=IF ($(vSetInScript), today(), $(vOtherdate))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can replace $(vOtherDate) with whatever value 'some other date' means, or you can set the value for vOtherDate in your script as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 May 2016 09:09:37 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2016-05-02T09:09:37Z</dc:date>
    <item>
      <title>Can we restrict today function while opening dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-restrict-today-function-while-opening-dashboard/m-p/1054615#M353608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we do this , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement , i have a variable which is created in scripting , and my chart is using today function for date , now i want that if my variable condition is true then today will today &lt;/P&gt;&lt;P&gt;if condition is false the today will not be today it will be at some other date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Agnivesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 09:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-restrict-today-function-while-opening-dashboard/m-p/1054615#M353608</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-02T09:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can we restrict today function while opening dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-restrict-today-function-while-opening-dashboard/m-p/1054616#M353609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide some details on what variable are we talking about. What exactly are you trying to do? Right now, any solution will be just a guess work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: I will try to make a guess:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SearchString&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(ConditionMet = vVarToday, vVarAnotherDate)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 09:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-restrict-today-function-while-opening-dashboard/m-p/1054616#M353609</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-02T09:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can we restrict today function while opening dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-restrict-today-function-while-opening-dashboard/m-p/1054617#M353610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace all your today() calls in expressions with a $(vT&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;oday) expansion, and in the variable overview define &lt;SPAN style="font-family: 'courier new', courier;"&gt;vToday&lt;/SPAN&gt; as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=IF ($(vSetInScript), today(), $(vOtherdate))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can replace $(vOtherDate) with whatever value 'some other date' means, or you can set the value for vOtherDate in your script as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 09:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-restrict-today-function-while-opening-dashboard/m-p/1054617#M353610</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-02T09:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we restrict today function while opening dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-restrict-today-function-while-opening-dashboard/m-p/1054618#M353611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to restrict today function value one opening based on condition.&lt;/P&gt;&lt;P&gt;Suppose if i open my dashboard tomorrow then it should not show tomorrow date , it is based on some condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 09:09:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-restrict-today-function-while-opening-dashboard/m-p/1054618#M353611</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-02T09:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can we restrict today function while opening dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-restrict-today-function-while-opening-dashboard/m-p/1054619#M353612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use an if statement in your OnOpen Trigger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 09:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-restrict-today-function-while-opening-dashboard/m-p/1054619#M353612</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-02T09:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can we restrict today function while opening dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-restrict-today-function-while-opening-dashboard/m-p/1054620#M353613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In on open trigger , if i use any condition , then can it be change today() function value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 09:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-restrict-today-function-while-opening-dashboard/m-p/1054620#M353613</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-02T09:19:37Z</dc:date>
    </item>
  </channel>
</rss>

