<?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: List data only if possible values are true in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246566#M620819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, that should not be the reason, only 'Y' values is being considered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jan 2017 12:42:05 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2017-01-27T12:42:05Z</dc:date>
    <item>
      <title>List data only if possible values are true</title>
      <link>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246557#M620810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I stucked in some logic and i need a help from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sharing an example below, which has 3 columns as Manager, Employee and Project Assigned.&lt;/P&gt;&lt;P&gt;I wan't to list only those manger whose all employees have project assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in below example only Manger XYZ should be shown since, under him everyone's project assigned. Also, Manager 'ABC' shouldn't be displayed since, it has N and NULL values.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me to achieve this? Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="244"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;Manager &lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="69"&gt;Employee&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="111"&gt;Project Assigned&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;ABC&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;E1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;ABC&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;E2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;N&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;ABC&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;E3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;XYZ&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;E4&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;XYZ&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;E5&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;XYZ&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;E6&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Afsar Shaikh&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 09:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246557#M620810</guid>
      <dc:creator>afsarshaikh</dc:creator>
      <dc:date>2017-01-27T09:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: List data only if possible values are true</title>
      <link>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246558#M620811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Concat( Aggr(If(Only([Project Assigned])='Y',Manager), Manager),', ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. in a text box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 10:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246558#M620811</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-27T10:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: List data only if possible values are true</title>
      <link>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246559#M620812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this in a text box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=Concat(DISTINCT{&amp;lt;Manager={"=Count(Distinct Employee)=Count(Distinct {&amp;lt;[Project Assigned]={'Y'}&amp;gt;} Employee)"}&amp;gt;}Manager, ',')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 10:18:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246559#M620812</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-01-27T10:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: List data only if possible values are true</title>
      <link>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246560#M620813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Stefan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, i'm still getting NULL values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 10:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246560#M620813</guid>
      <dc:creator>afsarshaikh</dc:creator>
      <dc:date>2017-01-27T10:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: List data only if possible values are true</title>
      <link>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246561#M620814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks for your reply Tresesco.&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;However, i'm still getting NULL values.&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;I wan't to display a manager name only if all the values are Y in column 3.&lt;/P&gt;&lt;P&gt;If any of the value is other than Y, no manager to be displayed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 10:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246561#M620814</guid>
      <dc:creator>afsarshaikh</dc:creator>
      <dc:date>2017-01-27T10:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: List data only if possible values are true</title>
      <link>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246562#M620815</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;create listbox with below expression&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;Aggr(If(Only([Project Assigned])='Y',Manager), Manager)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 10:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246562#M620815</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-01-27T10:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: List data only if possible values are true</title>
      <link>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246563#M620816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a sample? In my sample it is working fine. PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 10:57:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246563#M620816</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-01-27T10:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: List data only if possible values are true</title>
      <link>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246564#M620817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a key in table,&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; recno() as Key&lt;/P&gt;&lt;P&gt;FROM table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now try below expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;=Concat(DISTINCT{&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Key&lt;/SPAN&gt;={"=&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;Count(Distinct {&amp;lt;[Project Assigned]={'Y'}&amp;gt;} Employee)&lt;/SPAN&gt;=Count(Distinct {&amp;lt;[Project Assigned]={'Y'}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;Manager&lt;/SPAN&gt;)"}&amp;gt;}Manager, ',')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 11:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246564#M620817</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-01-27T11:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: List data only if possible values are true</title>
      <link>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246565#M620818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have sample data but, I've &amp;lt;space&amp;gt; as a value in my 3rd column. So, it's considering that too...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 12:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246565#M620818</guid>
      <dc:creator>afsarshaikh</dc:creator>
      <dc:date>2017-01-27T12:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: List data only if possible values are true</title>
      <link>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246566#M620819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, that should not be the reason, only 'Y' values is being considered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 12:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246566#M620819</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-01-27T12:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: List data only if possible values are true</title>
      <link>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246567#M620820</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;one solution might be also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_247781_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151162_QlikCommunity_Thread_247781_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_247781_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/151166_QlikCommunity_Thread_247781_Pic2.JPG" style="height: 379px; width: 620px;" /&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14857378289207366" jivemacro_uid="_14857378289207366"&gt;&lt;SPAN style="font-size: 10pt;"&gt;=Aggr(Only({1&amp;lt;Manager={"=Max([Project Assigned]='Y')"}&amp;gt;} Manager), Manager)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 00:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246567#M620820</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-01-30T00:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: List data only if possible values are true</title>
      <link>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246568#M620821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Afsar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you are doing well!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14857628737137997 jive_text_macro" jivemacro_uid="_14857628737137997" modifiedtitle="true"&gt;
&lt;P&gt;ProjectData:&lt;/P&gt;
&lt;P&gt;Load * Inline [&lt;/P&gt;
&lt;P&gt;Manager, Employee, "Project Assigned"&lt;/P&gt;
&lt;P&gt;ABC, E1, Y&lt;/P&gt;
&lt;P&gt;ABC, E2, N&lt;/P&gt;
&lt;P&gt;ABC, E3,&lt;/P&gt;
&lt;P&gt;XYZ, E4, Y&lt;/P&gt;
&lt;P&gt;XYZ, E5, Y&lt;/P&gt;
&lt;P&gt;XYZ, E6, Y&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt;"&gt;MgrData:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;LOAD Manager,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OnProject,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total&lt;/P&gt;
&lt;P&gt;WHERE OnProject = Total;&lt;/P&gt;
&lt;P&gt;LOAD Manager,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(If([Project Assigned] = 'Y',1,0)) AS OnProject,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT([Project Assigned]) AS Total&lt;/P&gt;
&lt;P&gt;Resident ProjectData&lt;/P&gt;
&lt;P&gt;GROUP BY Manager;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this script, MgrData table will hold data of Managers whose all reporting employees are on project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 07:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-data-only-if-possible-values-are-true/m-p/1246568#M620821</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-01-30T07:56:47Z</dc:date>
    </item>
  </channel>
</rss>

