<?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 Extract min time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extract-min-time/m-p/1532526#M438867</link>
    <description>&lt;P&gt;I have this kind of data&lt;/P&gt;&lt;P&gt;Product_Cate&amp;nbsp; &amp;nbsp;Datetime&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10:30:00 AM&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;11&lt;SPAN&gt;:30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;08:&lt;SPAN&gt;30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;20011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&lt;SPAN&gt;:30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;20011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 08:&lt;SPAN&gt;30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;20011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;09&lt;SPAN&gt;:30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NOW FROM here i am trying to extract min time and this should be like this&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Product_Cate&amp;nbsp; &amp;nbsp;Datetime&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;08:&lt;SPAN&gt;30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;20011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 08:&lt;SPAN&gt;30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load Product_Cate&lt;/P&gt;&lt;P&gt;DatimeTime&amp;nbsp;&lt;/P&gt;&lt;P&gt;from abc_table&lt;/P&gt;&lt;P&gt;group by Product_Cate;&lt;/P&gt;&lt;P&gt;this shows an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aggregate function should be used in script when using group by&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so how i extract min time and use group by in script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jan 2019 07:16:49 GMT</pubDate>
    <dc:creator>capriconuser</dc:creator>
    <dc:date>2019-01-21T07:16:49Z</dc:date>
    <item>
      <title>Extract min time</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-min-time/m-p/1532526#M438867</link>
      <description>&lt;P&gt;I have this kind of data&lt;/P&gt;&lt;P&gt;Product_Cate&amp;nbsp; &amp;nbsp;Datetime&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10:30:00 AM&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;11&lt;SPAN&gt;:30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;08:&lt;SPAN&gt;30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;20011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&lt;SPAN&gt;:30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;20011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 08:&lt;SPAN&gt;30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;20011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;09&lt;SPAN&gt;:30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NOW FROM here i am trying to extract min time and this should be like this&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Product_Cate&amp;nbsp; &amp;nbsp;Datetime&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;08:&lt;SPAN&gt;30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;20011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 08:&lt;SPAN&gt;30:00 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load Product_Cate&lt;/P&gt;&lt;P&gt;DatimeTime&amp;nbsp;&lt;/P&gt;&lt;P&gt;from abc_table&lt;/P&gt;&lt;P&gt;group by Product_Cate;&lt;/P&gt;&lt;P&gt;this shows an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aggregate function should be used in script when using group by&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so how i extract min time and use group by in script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 07:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-min-time/m-p/1532526#M438867</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2019-01-21T07:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Extract min time</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-min-time/m-p/1532541#M438868</link>
      <description>&lt;P&gt;Try it in this way:&lt;/P&gt;&lt;P&gt;Load Product_Cate&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;time(min(&lt;/STRONG&gt;DatimeTime&lt;STRONG&gt;))&lt;/STRONG&gt; &lt;STRONG&gt;as&amp;nbsp;DatimeTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;from abc_table&lt;/P&gt;&lt;P&gt;group by Product_Cate;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 07:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-min-time/m-p/1532541#M438868</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-21T07:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Extract min time</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-min-time/m-p/1532660#M438874</link>
      <description>&lt;P&gt;i have two tables like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load Product_Cate&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;time(min(&lt;/STRONG&gt;DatimeTime&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;as&amp;nbsp;DatimeTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;from abc_table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;inner join&amp;nbsp;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;code,&lt;/P&gt;&lt;P&gt;branch&lt;/P&gt;&lt;P&gt;from table2&lt;/P&gt;&lt;P&gt;group by &lt;SPAN&gt;code,branch,&lt;/SPAN&gt;Product_Cate;&lt;/P&gt;&lt;P&gt;is this work ?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 12:01:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-min-time/m-p/1532660#M438874</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2019-01-21T12:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extract min time</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-min-time/m-p/1532663#M438875</link>
      <description>&lt;P&gt;It won't work in this way. You need at first to join the tables - whereby you need at least one KEY field which I don't see in your example - and within a following load you could aggregate your wanted measures over the available dimensions.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 12:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-min-time/m-p/1532663#M438875</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-21T12:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extract min time</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-min-time/m-p/1532670#M438876</link>
      <description>i have the keys check this&lt;BR /&gt;&lt;BR /&gt;Load&lt;BR /&gt;Codes1 as Key,&lt;BR /&gt;Product_Cate&lt;BR /&gt;&lt;BR /&gt;time(min(DatimeTime)) as DatimeTime&lt;BR /&gt;&lt;BR /&gt;from abc_table&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;inner join&lt;BR /&gt;&lt;BR /&gt;load&lt;BR /&gt;Codes2 AS key,&lt;BR /&gt;code,&lt;BR /&gt;&lt;BR /&gt;branch&lt;BR /&gt;&lt;BR /&gt;from table2&lt;BR /&gt;&lt;BR /&gt;group by code,branch,Product_Cate;&lt;BR /&gt;&lt;BR /&gt;is this work ?&lt;BR /&gt;&lt;BR /&gt;now how i use in that way group by and aggregate functio</description>
      <pubDate>Mon, 21 Jan 2019 12:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-min-time/m-p/1532670#M438876</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2019-01-21T12:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Extract min time</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-min-time/m-p/1532675#M438877</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;table:&lt;BR /&gt;load Codes1 as Key, Product_Cate, DatetimeTime from abc_table;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; inner join&lt;BR /&gt;load Codes2 AS Key, code, branch from table2;&lt;/P&gt;&lt;P&gt;final:&lt;BR /&gt;noconcatenate load code,branch,Product_Cate, time(min(DatetimeTime)) as DatetimeTime&lt;BR /&gt;resident table group by code,branch,Product_Cate;&lt;/P&gt;&lt;P&gt;drop tables table;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 12:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-min-time/m-p/1532675#M438877</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-21T12:26:17Z</dc:date>
    </item>
  </channel>
</rss>

