<?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: Set Analysis Using Date Fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Using-Date-Fields/m-p/1188026#M22235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fields are completely blank (empty cells). I realized last night that my above expressions may be looking for a scenario that I'm not really after. Really looking for an OR type of situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count ( { $ &amp;lt; fieldA = {' '}&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;OR&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldB = {' '} &amp;gt; } stock_number )&lt;/STRONG&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Not sure yet how to write a set analysis for an and/or statement?&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2016 15:15:43 GMT</pubDate>
    <dc:creator>caseyjohnson</dc:creator>
    <dc:date>2016-09-20T15:15:43Z</dc:date>
    <item>
      <title>Set Analysis Using Date Fields</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Using-Date-Fields/m-p/1188024#M22233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New to Set Analysis and running into a snag. I'm trying to create a measure which looks for&lt;STRONG&gt; (2)&lt;SPAN style="text-decoration: underline;"&gt; empty date fields&lt;/SPAN&gt;&lt;/STRONG&gt; to evaluate the expression (or the opposite: looks for (2) fields with dates to evaluate the expression).&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;***FYI - The field dates are random dates ( if entered), or they are just blank fields. The dates are all formatted the same &amp;amp; correctly ***&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what I have tried:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;count ( { $ &amp;lt; fieldA = {' '}, fieldB = {' '} &amp;gt; } stock_number )&lt;/STRONG&gt;&lt;EM&gt; if fields are blank&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;count ( { $ &amp;lt; fieldA -= {'*'}, fieldB -= {'*'} &amp;gt; } stock_number )&lt;/STRONG&gt;&lt;EM style="font-size: 13.3333px;"&gt; if fields are NOT blank&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;count({$&amp;lt;fieldA={'*'}-{''}, fieldB={'*'}-{''}&amp;gt;} stock_number) &lt;/STRONG&gt;&lt;EM&gt;??? found this somewhere ... if fields aren't blank &amp;amp; making them blank???&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been getting some mixed results with the above expressions if I only try one field at a time, but not both??? Anyone have any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time! - Casey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 22:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Using-Date-Fields/m-p/1188024#M22233</guid>
      <dc:creator>caseyjohnson</dc:creator>
      <dc:date>2016-09-19T22:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Using Date Fields</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Using-Date-Fields/m-p/1188025#M22234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you say blank, do you mean null or is there a white space?&lt;/P&gt;&lt;P&gt;Read about Null here -&amp;gt; &lt;A href="https://community.qlik.com/docs/DOC-3155"&gt;NULL handling in QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 00:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Using-Date-Fields/m-p/1188025#M22234</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-20T00:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Using Date Fields</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Using-Date-Fields/m-p/1188026#M22235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fields are completely blank (empty cells). I realized last night that my above expressions may be looking for a scenario that I'm not really after. Really looking for an OR type of situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count ( { $ &amp;lt; fieldA = {' '}&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;OR&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldB = {' '} &amp;gt; } stock_number )&lt;/STRONG&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Not sure yet how to write a set analysis for an and/or statement?&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 15:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Using-Date-Fields/m-p/1188026#M22235</guid>
      <dc:creator>caseyjohnson</dc:creator>
      <dc:date>2016-09-20T15:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Using Date Fields</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Using-Date-Fields/m-p/1188027#M22236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For blanks in fieldA or fieldB&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;stock_number = {"=Len(Trim(fieldA)) = 0 or &lt;SPAN style="font-size: 13.3333px;"&gt;Len(Trim(fieldB)) = 0&lt;/SPAN&gt;"}&amp;gt;} &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;stock_number)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Non-Blanks in fieldA or fieldB&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Count({&amp;lt;stock_number = {"=Len(Trim(fieldA)) &amp;gt; 0 or &lt;SPAN style="font-size: 13.3333px;"&gt;Len(Trim(fieldB)) &amp;gt; 0&lt;/SPAN&gt;"}&amp;gt;} &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;stock_number)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 17:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Using-Date-Fields/m-p/1188027#M22236</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-20T17:26:42Z</dc:date>
    </item>
  </channel>
</rss>

