<?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: having clause in set analysis? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/having-clause-in-set-analysis/m-p/1802648#M65115</link>
    <description>&lt;P&gt;For the dimension expression for Consultant, you could use:&lt;/P&gt;&lt;P&gt;=if(aggr(count(distinct [Instance Company]),Consultant,[Project Type])&amp;gt;1,Consultant)&lt;/P&gt;&lt;P&gt;And uncheck the "Include null values" options for the dimension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Apr 2021 11:40:43 GMT</pubDate>
    <dc:creator>GaryGiles</dc:creator>
    <dc:date>2021-04-26T11:40:43Z</dc:date>
    <item>
      <title>having clause in set analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/having-clause-in-set-analysis/m-p/1802633#M65113</link>
      <description>&lt;P&gt;Hello got a pivot table with 2 dimensions:&lt;BR /&gt;Consultant and Project Type&lt;BR /&gt;the expression is counting the man-days&amp;nbsp;&lt;BR /&gt;what I actually want is display consultants who got more than 1 man-day per project type&lt;BR /&gt;check this example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_0-1619435072357.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53679i55141C44845994A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_0-1619435072357.jpeg" alt="ali_hijazi_0-1619435072357.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Tarrieux Olivier should appear with "Customer Annual Account" and Extension only&lt;BR /&gt;so what I'm trying to accomplish is give me the count of man-days by consultant and project type having count of man-days greater than one&lt;BR /&gt;kindly advise&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 11:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/having-clause-in-set-analysis/m-p/1802633#M65113</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2021-04-26T11:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: having clause in set analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/having-clause-in-set-analysis/m-p/1802648#M65115</link>
      <description>&lt;P&gt;For the dimension expression for Consultant, you could use:&lt;/P&gt;&lt;P&gt;=if(aggr(count(distinct [Instance Company]),Consultant,[Project Type])&amp;gt;1,Consultant)&lt;/P&gt;&lt;P&gt;And uncheck the "Include null values" options for the dimension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 11:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/having-clause-in-set-analysis/m-p/1802648#M65115</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-04-26T11:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: having clause in set analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/having-clause-in-set-analysis/m-p/1802650#M65116</link>
      <description>&lt;P&gt;Hello Gary&lt;BR /&gt;I don't want to include this condition in the expression of the dimension because I have other expressions to add&lt;BR /&gt;isn't there a way in set analysis?&lt;BR /&gt;I try to avoid if else as much as possible&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 11:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/having-clause-in-set-analysis/m-p/1802650#M65116</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2021-04-26T11:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: having clause in set analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/having-clause-in-set-analysis/m-p/1802667#M65118</link>
      <description>&lt;P&gt;I agree with you on trying to avoid the if statement, but I'm not sure how else to accomplish this when you are aggregating on 2 fields (Consultant and [Project Type].&lt;/P&gt;&lt;P&gt;If you create a conbination field in the load script of Consultant&amp;amp;[Project Type] called Consultant_ProjectType, you could use something like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=count({$&amp;lt;Consultant_ProjectType={"=Count(Distinct [Instance Company])&amp;gt;1"}&amp;gt;} Distinct [Instance Company])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is possible when aggregating on one field, but I'm not sure how to use this technique over 2 fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 12:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/having-clause-in-set-analysis/m-p/1802667#M65118</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-04-26T12:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: having clause in set analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/having-clause-in-set-analysis/m-p/1802915#M65134</link>
      <description>&lt;P&gt;I tried placing the above in a count:&lt;/P&gt;&lt;P&gt;Count&lt;/P&gt;&lt;P&gt;( Distinct&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(aggr(count(distinct [Instance Company]),Consultant,[Project Type])&amp;gt;1,Consultant)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It seems to be working with different fields also&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Anything&lt;SPAN&gt;&amp;nbsp;to consider with this ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 04:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/having-clause-in-set-analysis/m-p/1802915#M65134</guid>
      <dc:creator>ghaliabed</dc:creator>
      <dc:date>2021-04-27T04:23:51Z</dc:date>
    </item>
  </channel>
</rss>

