<?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: Min(date) confusing.. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Min-date-confusing/m-p/957119#M328789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you try this:&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;STRONG&gt;=Aggr(Min(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; OutSales.CTS), USER, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OutSales.&lt;/SPAN&gt;CTS)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2015 20:13:53 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-12-04T20:13:53Z</dc:date>
    <item>
      <title>Min(date) confusing..</title>
      <link>https://community.qlik.com/t5/QlikView/Min-date-confusing/m-p/957118#M328788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to find the min "call time stamp" (CTS) for each user. But min(time stamp) doesn't seem to work as either an expression or a dimension (I figured the latter wouldn't, so I tried it again as "aggr(min(CTS),USER)"; that didn't work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="MinCTS.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108143_MinCTS.PNG" style="height: 171px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Is there some special way to handle dates in the min and max functions? (I need to find max as well). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd actually like to do this in my LOAD script. Currently, it is:&lt;/P&gt;&lt;P&gt;OutSales:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Call time as CTS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; caller id as USER,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; calllength as length&lt;/P&gt;&lt;P&gt;FROM (excelfile)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing here? thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 20:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-date-confusing/m-p/957118#M328788</guid>
      <dc:creator />
      <dc:date>2015-12-04T20:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Min(date) confusing..</title>
      <link>https://community.qlik.com/t5/QlikView/Min-date-confusing/m-p/957119#M328789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you try this:&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;STRONG&gt;=Aggr(Min(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; OutSales.CTS), USER, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OutSales.&lt;/SPAN&gt;CTS)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 20:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-date-confusing/m-p/957119#M328789</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-04T20:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Min(date) confusing..</title>
      <link>https://community.qlik.com/t5/QlikView/Min-date-confusing/m-p/957120#M328790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, still comes back as NULL..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure this has something to do with full time stamps, because aggr(min(date), something else) has worked for me in the past. But I need the hh:mm:ss part because I want to find the first and last call made each day. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wondering if I should just add something like&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; frac(CTS) as hourstamp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find min(hourstamp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then just use date(hourstamp,'hh:mm:ss')&amp;nbsp; when I display it? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 20:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-date-confusing/m-p/957120#M328790</guid>
      <dc:creator />
      <dc:date>2015-12-04T20:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Min(date) confusing..</title>
      <link>https://community.qlik.com/t5/QlikView/Min-date-confusing/m-p/957121#M328791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample to look at your issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 20:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-date-confusing/m-p/957121#M328791</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-04T20:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Min(date) confusing..</title>
      <link>https://community.qlik.com/t5/QlikView/Min-date-confusing/m-p/957122#M328792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is bizarre.. I added the line&lt;/P&gt;&lt;P&gt;frac(CTS) as hourstamp &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to my script and reloaded. Now the table looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CTSnew.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108144_CTSnew.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;and I didn't change another thing. I seem to recall that date-times imported directly from excel have some issues, but can't remember the details. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 20:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-date-confusing/m-p/957122#M328792</guid>
      <dc:creator />
      <dc:date>2015-12-04T20:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Min(date) confusing..</title>
      <link>https://community.qlik.com/t5/QlikView/Min-date-confusing/m-p/957123#M328793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha cool, it seems that its working now, you just need Time() or TimeStamp() function around your expressions now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 20:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-date-confusing/m-p/957123#M328793</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-04T20:45:48Z</dc:date>
    </item>
  </channel>
</rss>

