<?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 extension of a set expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/extension-of-a-set-expression/m-p/1196593#M875754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new at the community and are going about to make my first Projekt with set expressions. I've got the basic understanding of the set expressions. The problem ist, when I try to make an expression with a little bit more complexity.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;There is a time line and i wanna know from a specific time X, whats the next available date, that is smaller than time X.&lt;/P&gt;&lt;P&gt;The time stamps beloging to products and one product has severall timestamps, that are in the historie table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time X&lt;/P&gt;&lt;P&gt;-----------------I--------------I------------&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(Date)&amp;lt;X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it like this:&lt;/P&gt;&lt;P&gt;1) count({&amp;lt;Date={'&amp;lt;timeX'}&amp;gt;}GGN)&amp;nbsp;&amp;nbsp; this Expression works fine, but gives out all possible Dates that are smaller than X&lt;/P&gt;&lt;P&gt;2) &lt;SPAN style="font-size: 13.3333px;"&gt;I need to add in to 1) a max statement, so that only the biggest date will be selected or maybe there is some other solution&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's up forward for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>extension of a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/extension-of-a-set-expression/m-p/1196593#M875754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new at the community and are going about to make my first Projekt with set expressions. I've got the basic understanding of the set expressions. The problem ist, when I try to make an expression with a little bit more complexity.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;There is a time line and i wanna know from a specific time X, whats the next available date, that is smaller than time X.&lt;/P&gt;&lt;P&gt;The time stamps beloging to products and one product has severall timestamps, that are in the historie table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time X&lt;/P&gt;&lt;P&gt;-----------------I--------------I------------&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(Date)&amp;lt;X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it like this:&lt;/P&gt;&lt;P&gt;1) count({&amp;lt;Date={'&amp;lt;timeX'}&amp;gt;}GGN)&amp;nbsp;&amp;nbsp; this Expression works fine, but gives out all possible Dates that are smaller than X&lt;/P&gt;&lt;P&gt;2) &lt;SPAN style="font-size: 13.3333px;"&gt;I need to add in to 1) a max statement, so that only the biggest date will be selected or maybe there is some other solution&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's up forward for the help&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/extension-of-a-set-expression/m-p/1196593#M875754</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: extension of a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/extension-of-a-set-expression/m-p/1196594#M875755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be 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;Count({&amp;lt;GGN = {"=Max(Date) &amp;lt; timeX"}&amp;gt;} GGN) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 16:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/extension-of-a-set-expression/m-p/1196594#M875755</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-27T16:32:48Z</dc:date>
    </item>
  </channel>
</rss>

