<?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: Variable based on date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1606006#M735435</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, I don't want the timestamp. I would like to stick to simple number. And as I was explaining above, QV automatically considers the Date as Timestamp although in the qvd it's a number.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2019 09:31:20 GMT</pubDate>
    <dc:creator>Elina</dc:creator>
    <dc:date>2019-07-25T09:31:20Z</dc:date>
    <item>
      <title>Variable based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1605600#M735431</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a chart and KPI is filtered based on dates selection (as in the screenshot).&lt;/P&gt;&lt;P&gt;I use two variables for beginning and end date selection. The problem is that the date selected is not well interpreted and thus no results in the chart. I checked and data is being present : I made a simple chart and used a date selection from a calendar object and it's working.&lt;/P&gt;&lt;P&gt;The question is what's wrong with the variables ?&lt;/P&gt;&lt;P&gt;Please find attached the example as a screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QV_pb_Date.png" style="width: 680px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15965i3CABE2522619D02A/image-size/large?v=v2&amp;amp;px=999" role="button" title="QV_pb_Date.png" alt="QV_pb_Date.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1605600#M735431</guid>
      <dc:creator>edemerdjieva</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1605602#M735432</link>
      <description>&lt;P&gt;Are the values for the dates exactly in the date format expected? "24/07/2019" is a valid format, but so are "07/24/2019" or "43670".&lt;/P&gt;
&lt;P&gt;According to the definition of the variable v_PC_DF the date will have the format "43670", so does the field "Date" have the same values stored?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 11:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1605602#M735432</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2019-07-24T11:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Variable based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1605603#M735433</link>
      <description>&lt;P&gt;May be change your variable to this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TimeStamp(Today(), 'DD/MM/YYYY hh:mm:ss')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I can't see the whole format for Date field, but make sure to use TT if you have AM, PM at the end.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 11:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1605603#M735433</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-07-24T11:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1605968#M735434</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22381"&gt;@Miguel_Angel_Baeyens&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Yes, the field Date has the same format 43670 in the qvd file. But when loaded in the application it changes as you can see in the simple chart above. QV must be doing some formatting which I want to avoid.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 07:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1605968#M735434</guid>
      <dc:creator>Elina</dc:creator>
      <dc:date>2019-07-25T07:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Variable based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1606006#M735435</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, I don't want the timestamp. I would like to stick to simple number. And as I was explaining above, QV automatically considers the Date as Timestamp although in the qvd it's a number.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 09:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1606006#M735435</guid>
      <dc:creator>Elina</dc:creator>
      <dc:date>2019-07-25T09:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Variable based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1606045#M735436</link>
      <description>&lt;P&gt;Check how it looks like when you use the field value or the variable in a text object, not in a chart. I'd expect it to show "43670", but might not be the case.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 10:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1606045#M735436</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2019-07-25T10:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variable based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1606065#M735437</link>
      <description>&lt;P&gt;How about if you load it as Num(Date) as Date so that it is stored as a number...&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 11:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1606065#M735437</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-07-25T11:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Variable based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1606379#M735438</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Num(Date) worked but I had to find all Date fields loaded and modify each one of them. Otherwise it doesn't work.&lt;/P&gt;&lt;P&gt;Thanks for your help !&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 08:09:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1606379#M735438</guid>
      <dc:creator>Elina</dc:creator>
      <dc:date>2019-07-26T08:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variable based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1606463#M735439</link>
      <description>&lt;P&gt;I guess I am confused as to what exactly is the issue? I mean you need to have a single format for your date field to make it work in your set analysis... and you don't want to use Num()?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 11:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1606463#M735439</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-07-26T11:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Variable based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1608048#M735440</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the Num() function and it worked. But since I have some other dates loaded with another format they all needed to be formatted with Num() :-).&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 13:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1608048#M735440</guid>
      <dc:creator>Elina</dc:creator>
      <dc:date>2019-07-31T13:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Variable based on date</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1608059#M735441</link>
      <description>&lt;P&gt;Yup, I agree that they all need to be changed using Num()&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 13:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-based-on-date/m-p/1608059#M735441</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-07-31T13:12:45Z</dc:date>
    </item>
  </channel>
</rss>

