<?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: Dates and Calendars in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310318#M846540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok so I tried this formula in a table with the ocr date as a dimension and it worked OK for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(OCR_DATE_TIME_SENT_TO_OCR &amp;gt;= $(vStartDate) and OCR_DATE_TIME_SENT_TO_OCR &amp;lt;=$(vEndDate),1,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Mar 2017 10:36:30 GMT</pubDate>
    <dc:creator>adamdavi3s</dc:creator>
    <dc:date>2017-03-30T10:36:30Z</dc:date>
    <item>
      <title>Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310310#M846532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate there are many, many discussions on here about this subject, but having spent half a day trawling through them I am still at a loss!&lt;/P&gt;&lt;P&gt;I have two calendar objects, which are linked to variables, and in the Min and Max Value I have entered &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;min&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OCR_DATE_TIME_SENT_TO_OCR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'DD/MM/YYYY')) &lt;/SPAN&gt; and &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MAX&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OCR_DATE_TIME_SENT_TO_OCR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'DD/MM/YYYY')) &lt;/SPAN&gt;. the number format on both objects is DD/MM/YYYY.&lt;/P&gt;&lt;P&gt;I&lt;SPAN style="font-size: 10pt;"&gt; have formatted the field &lt;SPAN style="color: #800000;"&gt;OCR_DATE_TIME_SENT_TO_OCR&lt;/SPAN&gt; in the load script like this:&lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;DATE_TIME_SENT_TO_OCR&lt;/SPAN&gt;, 'DD/MM/YYYY') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;OCR_DATE_TIME_SENT_TO_OCR - this works as when I use this field in a table or simply add it to the sheet, it appears in this format without any need to amend the number forma&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; have set the Date format as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&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;DateFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='DD/MM/YYYY'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But when I pick from my calendars, nothing is selected. And in the variable overview, the definition of my variables is in this format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;42775.753472222 &lt;/P&gt;&lt;P&gt;So I can see that the date formats are not the same, but I cannot see why the variable is still being populated with numbers. I even tried removing formatting from everything, and it still wouldn't select anything!&lt;/P&gt;&lt;P&gt;All help appreciated&lt;/P&gt;&lt;P&gt;Ella&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310310#M846532</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310311#M846533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ella,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trick is to floor the date here, its always a pain!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try something like this: &lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(floor(min({1}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;OCR_DATE_TIME_SENT_TO_OCR))&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, 'DD/MM/YYYY'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;possibly this, just experiment with it!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MIN(NUM(DATE(FLOOR(Timestamp#(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;OCR_DATE_TIME_SENT_TO_OCR&lt;/SPAN&gt;)),'DD/MM/YYYY')))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 09:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310311#M846533</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-30T09:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310312#M846534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, still doesn't select anything, although the format in the variable definition has now changed to be just 42775&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310312#M846534</guid>
      <dc:creator />
      <dc:date>2017-03-30T10:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310313#M846535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ella,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you upload a sample at all? Sorry hard to picture it without it in front of me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which formula did you use in the end? if it was the latter then wrapping it in another date might work&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; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DATE(&lt;/SPAN&gt;MIN(NUM(DATE(FLOOR(Timestamp#(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;OCR_DATE_TIME_SENT_TO_OCR&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)),'DD/MM/YYYY'))),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'DD/MM/YYYY'&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310313#M846535</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-30T10:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310314#M846536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't see a link to upload a qv file - is it me?!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310314#M846536</guid>
      <dc:creator />
      <dc:date>2017-03-30T10:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310315#M846537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to go to 'use advanced editor' then use the attach / paperclip icon down the bottom &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310315#M846537</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-30T10:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310316#M846538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks! Have restricted it down to just a few months to keep it small - hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:29:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310316#M846538</guid>
      <dc:creator />
      <dc:date>2017-03-30T10:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310317#M846539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok so what is the plan, just get something to show you the dates between your two selections?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310317#M846539</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-30T10:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310318#M846540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok so I tried this formula in a table with the ocr date as a dimension and it worked OK for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(OCR_DATE_TIME_SENT_TO_OCR &amp;gt;= $(vStartDate) and OCR_DATE_TIME_SENT_TO_OCR &amp;lt;=$(vEndDate),1,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310318#M846540</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-30T10:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310319#M846541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's it - when it works, I would expect the date fields at the top be impacted by the selections, and the selections themselves to appear in the 'Selections' box. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310319#M846541</guid>
      <dc:creator />
      <dc:date>2017-03-30T10:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310320#M846542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahhh ok, hmmm this isn't quite so easy I am afraid!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry just for my own clarification (not had much sleep)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want users to be able to enter a start date then an end date and for this to then make selections in the calendar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is possible but I would advise a button to do it.... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310320#M846542</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-30T10:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310321#M846543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do need users to be able to enter a start and end date - we use calendars in other applications without issues, I did toy with a button, but the users are used to calendars (and you know users... change is not a good thing &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310321#M846543</guid>
      <dc:creator />
      <dc:date>2017-03-30T10:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310322#M846544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The attached uses a button, but I have also added a variable trigger for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try changing the end date variable and watch the magic work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I am crazy busy so I have only added it on the venddate variable but you can just add the same on the vstartdate variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Settings&amp;gt; Document properties &amp;gt; triggers then look at the variable triggers section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need both on input and on change to make sure it always works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310322#M846544</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-30T10:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dates and Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310323#M846545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the trigger was missing!! thank you for your help and time &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 11:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-and-Calendars/m-p/1310323#M846545</guid>
      <dc:creator />
      <dc:date>2017-03-30T11:04:54Z</dc:date>
    </item>
  </channel>
</rss>

