<?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: Help with set analysis syntax in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75066#M4986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not comparing trackingnum to a numerical test. What the expression is doing is picking all those trackingnums where the set analysis condition is true. So, &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=NetWorkDays(DateReceived, ClosedDate, $(vHolidays)) &amp;lt;= 20&lt;/STRONG&gt; is evalulated as a Boolean condition where Trackingnum is a dimension and all those places where it is true are included in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Feb 2018 18:10:00 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-02-13T18:10:00Z</dc:date>
    <item>
      <title>Help with set analysis syntax</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75061#M4981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;I need to filter actions that meet a few conditions, and I'm stuck on the syntax to test for the result of a Networkdays()&amp;nbsp; function that evaluates to less than or equal 20 days. I just cannot figure out the correct syntax, can someone please take a look?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My formula is:&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;FOIAType={'Request'},Status ={'Closed'},ClosedDate = {"&amp;gt;=10/01/2017"}, NetWorkDays(DateReceived,ClosedDate,$(vHolidays)) = {"&amp;lt;=" 20} &amp;gt;}TrackingNum)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 14:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75061#M4981</guid>
      <dc:creator>mrbustin</dc:creator>
      <dc:date>2018-02-08T14:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis syntax</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75062#M4982</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;STRONG&gt;Count({$&amp;lt;FOIAType={'Request'}, Status ={'Closed'}, ClosedDate = {"&amp;gt;=10/01/2017"}, TrackingNum = {"=NetWorkDays(DateReceived, ClosedDate, $(vHolidays)) &amp;lt;= 20"}&amp;gt;} TrackingNum)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 17:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75062#M4982</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-08T17:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis syntax</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75063#M4983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;Are you getting an error or just no data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 17:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75063#M4983</guid>
      <dc:creator>aschmeelk</dc:creator>
      <dc:date>2018-02-08T17:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis syntax</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75064#M4984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;Getting no data ... can&lt;/P&gt;&lt;P&gt;this syntax is sooo confusing ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The if statement syntax is easy enough for a table:&lt;/P&gt;&lt;P&gt;If(FOIAType='Request' and Status = 'Closed' and ClosedDate &amp;gt;= '10/01/2017' and NetWorkDays(DateReceived,ClosedDate,$(vHolidays)) &amp;lt;=20,FYReceived,null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but trying to put this in a set analysis formula to generate a count of the records seems near impossible ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 17:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75064#M4984</guid>
      <dc:creator>mrbustin</dc:creator>
      <dc:date>2018-02-13T17:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis syntax</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75065#M4985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&amp;nbsp; this seems to work! Thank you!!!&amp;nbsp; but I don't understand why it works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; ... it looks like your comparing a text field(trackingnum) to a numerical test '&amp;lt;=20' but it gives me 134 records and the data appears to be correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; My regular table using the below formula gives me 135 - a set the received date to null and only display non nulls ...&lt;/P&gt;&lt;P&gt;=If(FOIAType='Request' and Status = 'Closed' and ClosedDate &amp;gt;= '10/01/2017' and NetWorkDays(DateReceived,ClosedDate,$(vHolidays)) &amp;lt;=20,FYReceived,null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 18:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75065#M4985</guid>
      <dc:creator>mrbustin</dc:creator>
      <dc:date>2018-02-13T18:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis syntax</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75066#M4986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not comparing trackingnum to a numerical test. What the expression is doing is picking all those trackingnums where the set analysis condition is true. So, &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=NetWorkDays(DateReceived, ClosedDate, $(vHolidays)) &amp;lt;= 20&lt;/STRONG&gt; is evalulated as a Boolean condition where Trackingnum is a dimension and all those places where it is true are included in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 18:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75066#M4986</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-13T18:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with set analysis syntax</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75067#M4987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's beginning to ...&amp;nbsp; thank you again.&amp;nbsp; -Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 18:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-set-analysis-syntax/m-p/75067#M4987</guid>
      <dc:creator>mrbustin</dc:creator>
      <dc:date>2018-02-13T18:12:57Z</dc:date>
    </item>
  </channel>
</rss>

