<?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 Group date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-date/m-p/324682#M1191385</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;I've a problem with the date. I've many date/time records as 01/01/2011 22.33; 01/01/2011 22.45... and I want to create a calendar where if I select 01/01/2011 I show every date/time record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The aim is an object that allows to select date (DD/MM/YYYY) in order to select all the date/time record that have the date selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do?&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;Fulgenzio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jun 2011 15:25:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-27T15:25:05Z</dc:date>
    <item>
      <title>Group date</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date/m-p/324682#M1191385</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;I've a problem with the date. I've many date/time records as 01/01/2011 22.33; 01/01/2011 22.45... and I want to create a calendar where if I select 01/01/2011 I show every date/time record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The aim is an object that allows to select date (DD/MM/YYYY) in order to select all the date/time record that have the date selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do?&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;Fulgenzio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 15:25:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date/m-p/324682#M1191385</guid>
      <dc:creator />
      <dc:date>2011-06-27T15:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Group date</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date/m-p/324683#M1191386</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;Create a new field in your load script so you have both the complete timestamp (with hours and minutes) and only dates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CompleteTimestamp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Floor(CompleteDate)) AS OnlyDate // This will return only the date part (day month year) of the value&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 15:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date/m-p/324683#M1191386</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-06-27T15:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Group date</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date/m-p/324684#M1191387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that the best answer is to use a calculated dimension in the form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;=DayName([Date Time Field])&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other "xName" functions, like YearName, will also work for this purpose.&amp;nbsp; It gives you greater flexibility than denormalizing every date-time field in your script into every possible grouping of dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 14:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date/m-p/324684#M1191387</guid>
      <dc:creator />
      <dc:date>2011-07-06T14:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Group date</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date/m-p/324685#M1191388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, and thanks for sharing!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'd note here that calculated dimensions in charts should be avoided because of performance, when possible. If you meant in the script, I agree. Besides, DayName() still keeps the hours and minutes value, although it represents only the date part, so the Floor() function is still needed to get rid of the time part.&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;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small active_link" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 16:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date/m-p/324685#M1191388</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-07-06T16:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Group date</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date/m-p/324686#M1191389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not find that the Floor() function is necessary for the calculated dimension to accurately select records based on a date-time timestamp.&amp;nbsp; I am dealing with over 12,000 rows, and performance has not been an issue for using WeekName() as a calculated dimension.&amp;nbsp; How many rows are you calculating where you are finding performance issues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 16:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date/m-p/324686#M1191389</guid>
      <dc:creator />
      <dc:date>2011-07-06T16:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Group date</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date/m-p/324687#M1191390</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;If you need to work with the time part, you obviously don't need the Floor() function, as it was the case stated in this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working with many different volumes of data, from few &lt;SPAN style="text-decoration: line-through;"&gt;million&lt;/SPAN&gt; hundreds of thousands records to several hundreds of millions, but in any case, creating those dimensions in the script (if they are date related, in a master calendar, for example) improves performance always, since the QlikView doesn't have to evaluate the condition for each possible value of the dimension and later aggregate it depending on your expression. And as I mentioned above, I mean calculated dimensions in the Dimension tab of the chart Properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small active_link" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 17:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date/m-p/324687#M1191390</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-07-06T17:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Group date</title>
      <link>https://community.qlik.com/t5/QlikView/Group-date/m-p/324688#M1191391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I follow you on the Dimension tab.&amp;nbsp; Still, Floor() is not needed, even when one does not need to work with the "time" part of the date-time timestamp.&amp;nbsp; At that many records, I can see how the calculation would help.&amp;nbsp; Thank you, Miguel.&amp;nbsp; I think you just saved me from a major headache that would have surfaced in the future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 17:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-date/m-p/324688#M1191391</guid>
      <dc:creator />
      <dc:date>2011-07-06T17:12:11Z</dc:date>
    </item>
  </channel>
</rss>

