<?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: expression changes to integer value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630135#M1091581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is, if you remove this line in the script, you can define it in the Variables overview any way you want, and it will not be overwritten anymore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2014 15:32:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-12T15:32:20Z</dc:date>
    <item>
      <title>expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630121#M1091567</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;Every time i reload the dashboard the variable(vMaxDate) containing expression =max(Date) is changing to integer number(41771), instead of Date value like 12/05/2014. This i can see in the input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the expression from =max(Date) to =Date(max(Date)), but still the expession changes to integer number after reload.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 13:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630121#M1091567</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-05-12T13:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630122#M1091568</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(max(Date),'M/D/YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 13:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630122#M1091568</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-05-12T13:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630123#M1091569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ambu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tired with your expression, but still the expression is changed to integer value 41771(ie todays date), after the reload&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 14:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630123#M1091569</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-05-12T14:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630124#M1091570</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;can you post a sample app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you have different date format.&lt;/P&gt;&lt;P&gt;Date(max(Date),'M/D/YYYY')&lt;/P&gt;&lt;P&gt;Replace 'M/D/YYYY' with your date format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 14:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630124#M1091570</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-05-12T14:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630125#M1091571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 14:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630125#M1091571</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-05-12T14:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630126#M1091572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ambu/Ashfaq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the source table now, and i see that the date field value is 2014-05-12 09:51:40.807.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is another date field in the dashboard for which the variable is working. This date field value is like 2009-03-07 00:00:00.000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, having time stamp value like this (2014-05-12 &lt;STRONG&gt;09:51:40.807) &lt;/STRONG&gt;is a problem?&lt;/P&gt;&lt;P&gt;How can i handle this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 14:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630126#M1091572</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-05-12T14:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630127#M1091573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To cut off the time part, you can use floor() function:&lt;/P&gt;&lt;P&gt;date(max(floor(Date)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 14:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630127#M1091573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-12T14:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630128#M1091574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ambu / Ashfaq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the app and the source data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 14:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630128#M1091574</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-05-12T14:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630129#M1091575</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;Check Enclosed File.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is as per your requirements.&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, 12 May 2014 15:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630129#M1091575</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-05-12T15:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630130#M1091576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply !!&lt;/P&gt;&lt;P&gt;I have tried with the expression you provided. But still the expression changes to integer value for the vECBMaxDate variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the app and source date i have attached in my earlier message. Kindly help !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 15:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630130#M1091576</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-05-12T15:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630131#M1091577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;Thanks !!&lt;/P&gt;&lt;P&gt;When i run the reload, the expression still changes to integer value for the variable vECBMaxDate..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 15:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630131#M1091577</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-05-12T15:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630132#M1091578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works this way because this variable is defined in the script, hence you get it after each reload.&amp;nbsp; Yes, it is defined as a number:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Let &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vECBMaxDate&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;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('maxDate', 0, 'Temp'));&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 15:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630132#M1091578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-12T15:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630133#M1091579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried floor("date field") to strip the time?&lt;/P&gt;&lt;P&gt;Perhaps =date(date#("date field"),'MM-DD-YYYY')?&lt;/P&gt;&lt;P&gt;Verify the format for the field is not set to Integer in your chart properties &amp;gt; Number tab.&lt;/P&gt;&lt;P&gt;-Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 15:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630133#M1091579</guid>
      <dc:creator>Greg_Williams</dc:creator>
      <dc:date>2014-05-12T15:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630134#M1091580</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;Now checked Enclosed File.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even after reloading the format is not changing.&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, 12 May 2014 15:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630134#M1091580</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-05-12T15:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630135#M1091581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is, if you remove this line in the script, you can define it in the Variables overview any way you want, and it will not be overwritten anymore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 15:32:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630135#M1091581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-12T15:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630136#M1091582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure where to use your expression in the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is, the variable vECBMaxDate is used in my charts and, whenever i reload, all my charts using the variable shows zero as values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at the app and souce data, i have attached in the previous message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 15:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630136#M1091582</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-05-12T15:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630137#M1091583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is nothing to use in the app - just remove or comment line 14 on the tab Calendar in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 15:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630137#M1091583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-12T15:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630138#M1091584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correction:&amp;nbsp; You can not remove it because it is used further in the script.&amp;nbsp; But you can change it - replace num with date:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Let&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vECBMaxDate&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;&lt;STRONG&gt;date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('maxDate', 0, 'Temp'));&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt;If you need it as num() in the script, use&amp;nbsp; num&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;$(vECBMaxDate) &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;See attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 15:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630138#M1091584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-12T15:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: expression changes to integer value</title>
      <link>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630139#M1091585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for your time..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 16:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-changes-to-integer-value/m-p/630139#M1091585</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2014-05-12T16:02:05Z</dc:date>
    </item>
  </channel>
</rss>

