<?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: Expressions within Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449390#M433990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have more than one EndDate for KEY Client field? If you do, are you looking for Min() or Max() End Date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Oct 2017 13:19:21 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-10-13T13:19:21Z</dc:date>
    <item>
      <title>Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449381#M433981</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 an issue where I am trying to count NULL's within the EndDate field. I've tried various ways to count them eg, Len( Trim( Field ) ) = 0, and have decided the easiest for this application was just to create a NullFlag .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am basically trying to include an 'OR' operator between two different fields, and then include other criteria I need to be met within the count. &lt;/P&gt;&lt;P&gt;The following is an example of what works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;StartDate={"&amp;lt;=01/07/2016"}&lt;/P&gt;&lt;P&gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;EndDate&lt;/SPAN&gt;={"&amp;gt;=01/07/2017"}&lt;/P&gt;&lt;P&gt;,Diag1={"10*","11*"}&lt;/P&gt;&lt;P&gt;,Other&lt;SPAN style="font-size: 13.3333px;"&gt;StartDate&lt;/SPAN&gt;={"&amp;lt;=01/07/2016"}&lt;/P&gt;&lt;P&gt;&amp;gt;}[KEY Client])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;count({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;StartDate&lt;/SPAN&gt;={"&amp;lt;=01/07/2016"}&lt;/P&gt;&lt;P&gt;,Diag1={"10*","11*}&lt;/P&gt;&lt;P&gt;,Other&lt;SPAN style="font-size: 13.3333px;"&gt;StartDate&lt;/SPAN&gt;={"&amp;lt;=01/07/2016"}&lt;/P&gt;&lt;P&gt;,NullFlag={'1'}&lt;/P&gt;&lt;P&gt;&amp;gt;}[KEY Client])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to condense the above script to something like (&lt;SPAN style="font-size: 13.3333px;"&gt;EndDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;={"&amp;gt;=01/07/2017"} + &lt;SPAN style="font-size: 13.3333px;"&gt;NullFlag={'1'}&lt;/SPAN&gt;&lt;/SPAN&gt;)? as it becomes very long when Diag? = n&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried the above and it doesn't work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if you have any suggestions as to how I could use &lt;SPAN style="font-size: 13.3333px;"&gt;Len( Trim( Field ) ) = 0 instead of creating the flag (so I can use it on apps I don't have script access for) that would be great. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The problem I have is that I can't get &lt;SPAN style="font-size: 13.3333px;"&gt;Len( Trim( Field ) ) = 0 to evaluate properly when EndDate has been created by using 'date(floor())' on a timestamp field.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 11:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449381#M433981</guid>
      <dc:creator>quilldew</dc:creator>
      <dc:date>2017-10-13T11:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449382#M433982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count({&amp;lt;StartDate={"&amp;lt;=01/07/2016"}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;EndDate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;={"&amp;gt;=01/07/2017"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,Diag1={"10*","11*"}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,Other&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;StartDate&lt;/SPAN&gt;={"&amp;lt;=01/07/2016"}&lt;STRONG style="color: #ff0000;"&gt;&amp;gt; + &amp;lt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NullFlag={'1'}&lt;/SPAN&gt;&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;}[KEY Client])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;StartDate&lt;/SPAN&gt;={"&amp;lt;=01/07/2016"}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,Diag1={"10*","11*}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,Other&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;StartDate&lt;/SPAN&gt;={"&amp;lt;=01/07/2016"}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,NullFlag={'1'}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;}[KEY Client])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 11:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449382#M433982</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-13T11:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449383#M433983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Give me an error in expression unfortunately. It was one of the first things I thought of &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 11:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449383#M433983</guid>
      <dc:creator>quilldew</dc:creator>
      <dc:date>2017-10-13T11:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449384#M433984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I put it as &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt;EndDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;={"&amp;gt;=01/07/2017"}&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f2f2f2; color: #ff0000;"&gt;&amp;gt; + &amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;NullFlag={'1'}&lt;/SPAN&gt;&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But neither work.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 11:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449384#M433984</guid>
      <dc:creator>quilldew</dc:creator>
      <dc:date>2017-10-13T11:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449385#M433985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Count({&amp;lt;StartDate={"&amp;lt;=01/07/2016"}, Diag1={"10*","11*"}, OtherStartDate={"&amp;lt;=01/07/2016"}, [KEY Client] = {"=Only({1} EndDate) &amp;gt;= '01/07/2017' or Len(Trim(EndDate)) = 0"}&amp;gt;} [KEY Client])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 11:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449385#M433985</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-13T11:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449386#M433986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;StartDate={"&amp;lt;=01/07/2016"}, EndDate={"&amp;gt;=01/07/2017"}, Diag1={"10*","11*"}, OtherStartDate={"&amp;lt;=01/07/2016"}&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+&amp;lt;StartDate={"&amp;lt;=01/07/2016"}, Diag1={"10*","11*}, OtherStartDate={"&amp;lt;=01/07/2016"}, NullFlag={'1'}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;[KEY Client])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 11:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449386#M433986</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-13T11:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449387#M433987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe 1st one should work, You are Rock JI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 11:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449387#M433987</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-13T11:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449388#M433988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one works Sunny, and is a slight improvement on mine, but is still of a comparable length&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 13:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449388#M433988</guid>
      <dc:creator>quilldew</dc:creator>
      <dc:date>2017-10-13T13:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449389#M433989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;StartDate={"&amp;lt;=01/07/2016"}, Diag1={"10*","11*"}, OtherStartDate={"&amp;lt;=01/07/2016"}, [KEY Client] = {"=Only({1} EndDate) &amp;gt;= '01/07/2017' or Len(Trim(EndDate)) = 0"}&amp;gt;} [KEY Client])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the kind of thing I am looking for, significantly shorter than my code, but it unfortunately doesn't work for me.&lt;/P&gt;&lt;P&gt;It is returning lots of records where the EndDate is before 01/07/2017.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 13:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449389#M433989</guid>
      <dc:creator>quilldew</dc:creator>
      <dc:date>2017-10-13T13:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449390#M433990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have more than one EndDate for KEY Client field? If you do, are you looking for Min() or Max() End Date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 13:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449390#M433990</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-13T13:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449391#M433991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only one EndDate per [KEY Client], and I'm not looking for either the min() or max() in any of the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could it be down to the fact that EndDate is created from date(floor(EndDateTime)) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 13:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449391#M433991</guid>
      <dc:creator>quilldew</dc:creator>
      <dc:date>2017-10-13T13:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449392#M433992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;StartDate={"&amp;lt;=01/07/2016"}, Diag1={"10*","11*"}, OtherStartDate={"&amp;lt;=01/07/2016"}, [KEY Client] = {"=Only({1} EndDate) &amp;gt;= MakeDate(2017, 1, 7) or Len(Trim(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Only({1} EndDate)&lt;/STRONG&gt;)) = 0"}&amp;gt;} [KEY Client])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was not sure if 01/07/2017 was Jan 7th or July 1st... I am assuming it was Jan 7th, but change the values in Make date to MakeDate(2017, 7, 1) if it was July 1st &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 13:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449392#M433992</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-13T13:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449393#M433993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;It's 1st of July I'm looking at.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;So I tried MakeDate(2017,7,1) and it is unfortunately still showing me lots of dates before that date.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I've just created a couple of listboxes, one for StartDate and one for EndDate.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I've noticed that all the entries for EndDate are right aligned, whereas for StartDate they are left aligned. Shouldn't they be the same? When I display them as timestamp they both have the time as 00:00 so the floor() has worked in the script at least.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Also every time I've used 'Len( Trim( Field ) ) = 0' on StartDate it gives me the expected results, but not on EndDate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 13:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449393#M433993</guid>
      <dc:creator>quilldew</dc:creator>
      <dc:date>2017-10-13T13:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449394#M433994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you create a straight table with the following and share an image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;[KEY Client]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Only({1} EndDate)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Only({1} EndDate) &amp;gt;= MakeDate(2017, 7, 1)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Len(Trim(&lt;STRONG style="font-style: inherit;"&gt;Only({1} EndDate)&lt;/STRONG&gt;)) = 0&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 13:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449394#M433994</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-13T13:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449395#M433995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't post an image unfortunately as I've had to change the actual fieldnames we use (work are funny about making them public.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can tell you that for:&lt;/P&gt;&lt;P&gt;1) The EndDate was shown for each [KEY Client]&lt;/P&gt;&lt;P&gt;2) Shows -1 for any EndDates &amp;gt;= 1st July, and 0 for everything else including when EndDate is empty&lt;/P&gt;&lt;P&gt;3) Shows 0 for EndDate if it exists and -1 for empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it looks like it's working properly. Just not within the set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 14:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449395#M433995</guid>
      <dc:creator>quilldew</dc:creator>
      <dc:date>2017-10-13T14:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449396#M433996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I would have expected... which is good.... My guess is that this is working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count([KEY Client] = {"=Only({1} EndDate) &amp;gt;= MakeDate(2017, 1, 7) or Len(Trim(&lt;STRONG style="font-style: inherit;"&gt;Only({1} EndDate)&lt;/STRONG&gt;)) = 0"}&amp;gt;} [KEY Client])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But something else isn't working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try adding these two expressions in the above chart that you created&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count([KEY Client] = {"=Only({1} EndDate) &amp;gt;= MakeDate(2017, 1, 7) or Len(Trim(&lt;STRONG style="font-style: inherit;"&gt;Only({1} EndDate)&lt;/STRONG&gt;)) = 0"}&amp;gt;} [KEY Client])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;StartDate={"&amp;lt;=01/07/2016"}, Diag1={"10*","11*"}, OtherStartDate={"&amp;lt;=01/07/2016"}, [KEY Client] = {"=Only({1} EndDate) &amp;gt;= MakeDate(2017, 1, 7) or Len(Trim(&lt;STRONG style="font-style: inherit;"&gt;Only({1} EndDate)&lt;/STRONG&gt;)) = 0"}&amp;gt;} [KEY Client])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and tell me what you see.... (remember that the dimension is still KEY Client)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 14:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449396#M433996</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-13T14:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449397#M433997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I swapped the makedate part to (2017,7,1) as i'm looking for July. I did try it both ways though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, so it looks like there is more than 1 EndDate per [KEY Client] as 2) is giving counts of 3 and 2 and 1, but they seem to be completely random apart from the fact they ONLY occur when the EndDate is empty. But there are plenty of records with empty EndDate's that have 0, and EVERY record with an EndDate is 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 1) everything is empty (as in -). Which i'm assuming it shouldn't be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 14:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449397#M433997</guid>
      <dc:creator>quilldew</dc:creator>
      <dc:date>2017-10-13T14:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449398#M433998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually 1) has an error in expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 14:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449398#M433998</guid>
      <dc:creator>quilldew</dc:creator>
      <dc:date>2017-10-13T14:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449399#M433999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad, missing {&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;&lt;/SPAN&gt;[KEY Client] = {"=Only({1} EndDate) &amp;gt;= MakeDate(2017, 1, 7) or Len(Trim(Only({1} EndDate))) = 0"}&amp;gt;} [KEY Client])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 14:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449399#M433999</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-13T14:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions within Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449400#M434000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah I spotted it just after I posted lol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now 1) is showing 1 for all EndDate's &amp;gt;= 1st July or empty. Which seems correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 14:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-within-Set-Analysis/m-p/1449400#M434000</guid>
      <dc:creator>quilldew</dc:creator>
      <dc:date>2017-10-13T14:42:56Z</dc:date>
    </item>
  </channel>
</rss>

