<?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: create min&amp;max timestamp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407646#M612083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Staffan,&lt;/P&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; *,&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Peek&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Dimension&lt;/SPAN&gt;)=&lt;SPAN style="color: #800000;"&gt;Dimension&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;Peek&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Counter&lt;/SPAN&gt;),&lt;SPAN style="color: #0000ff;"&gt;RangeSum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Peek&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Counter&lt;/SPAN&gt;),1)) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Counter &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;From Table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;&lt;STRONG&gt;Than LOAD Min and Max Grouped By Counter.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2017 07:11:00 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-08-30T07:11:00Z</dc:date>
    <item>
      <title>create min&amp;max timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407643#M612080</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 have problem to create min and max timestamp. My rawdata looks like this.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/175031_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;expected below, I can not use a min and max and do a Group by on Dimension because all dimension will be repeated.&lt;/P&gt;&lt;P&gt;This has to be done in the load script.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 324px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;" width="64"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;dimension&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;" width="130"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;min&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; border-image: none;" width="130"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;max&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;44-150&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2017-08-25 11:00:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2017-08-25 11:01:59&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;50-100&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2017-08-25 11:02:59&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2017-08-25 11:05:59&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;63-125&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2017-08-25 11:06:59&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2017-08-25 11:08:59&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;50-100&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2017-08-25 11:09:59&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2017-08-25 11:10:59&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;63-125&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2017-08-25 11:11:59&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border: 0px black; border-image: none;"&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2017-08-25 11:13:59&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 06:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407643#M612080</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2017-08-30T06:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: create min&amp;max timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407644#M612081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD Dimension,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min(Time) as MinTime,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Time) as MaxTime&lt;/P&gt;&lt;P&gt;From XXXX&lt;/P&gt;&lt;P&gt;Group by Dimension;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 06:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407644#M612081</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-08-30T06:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: create min&amp;max timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407645#M612082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vineeth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as I said, this will not work, for ex this will give me one row on 50-100 With MinTime &lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2017-08-25 11:02:59&lt;/SPAN&gt; and MaxTime &lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2017-08-25 11:10:59&lt;/SPAN&gt; that is not correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 06:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407645#M612082</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2017-08-30T06:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: create min&amp;max timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407646#M612083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Staffan,&lt;/P&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; *,&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Peek&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Dimension&lt;/SPAN&gt;)=&lt;SPAN style="color: #800000;"&gt;Dimension&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;Peek&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Counter&lt;/SPAN&gt;),&lt;SPAN style="color: #0000ff;"&gt;RangeSum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Peek&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Counter&lt;/SPAN&gt;),1)) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Counter &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;From Table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;&lt;STRONG&gt;Than LOAD Min and Max Grouped By Counter.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 07:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407646#M612083</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-08-30T07:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: create min&amp;max timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407647#M612084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YES, this will create a Group of all Dimension and add a Field that can be used as a keyfield, thanks.&lt;/P&gt;&lt;P&gt;I will test this in my script and comes back to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 07:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407647#M612084</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2017-08-30T07:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: create min&amp;max timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407648#M612085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM&gt;dimension,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM&gt;TimeStamp( Min(Num(Time)) )&amp;nbsp;&amp;nbsp; as Min_Time,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM&gt;TimeStamp( Max(Num(Time)) )&amp;nbsp; as Max_Time&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM&gt;From Source&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM&gt;Group by &lt;SPAN style="font-size: 13.3333px;"&gt;dimension;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 07:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407648#M612085</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-08-30T07:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: create min&amp;max timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407649#M612086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;thanks but this is not working as I said. to do a Group by only on Dimension will gives me 3 rows instead of 5.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/69783"&gt;antoniotiman&lt;/A&gt;‌ has solve this for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 07:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-min-max-timestamp/m-p/1407649#M612086</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2017-08-30T07:32:02Z</dc:date>
    </item>
  </channel>
</rss>

