<?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: Display values not part of a filter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Display-values-not-part-of-a-filter/m-p/1870377#M71863</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there should be at least one entry per granularity level (Year/Month/Week/Day) to display non recorded values in tables,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;since EE_ID =3 related records are not recorded for the entire month of Nov,&amp;nbsp;Qilk cannot show&amp;nbsp; EE_ID=3 for this month&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One possible solution would be ,&lt;/P&gt;
&lt;P&gt;Dimension : EE_ID&lt;/P&gt;
&lt;P&gt;Expression1: Active Hours&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;= sum({ 1-$} 0)+ sum(Worked_hours)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Expression 2 (Status):&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;=if(sum( Worked_hours)&amp;gt;0,'Active','Inactive')&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Comm_1869631.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68560i18AD4B1D2854FE39/image-size/large?v=v2&amp;amp;px=999" role="button" title="Comm_1869631.png" alt="Comm_1869631.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sasi&lt;/P&gt;</description>
    <pubDate>Tue, 14 Dec 2021 12:49:55 GMT</pubDate>
    <dc:creator>sasikanth</dc:creator>
    <dc:date>2021-12-14T12:49:55Z</dc:date>
    <item>
      <title>Display values not part of a filter</title>
      <link>https://community.qlik.com/t5/App-Development/Display-values-not-part-of-a-filter/m-p/1869374#M71785</link>
      <description>&lt;P&gt;In my app I have 2 tables: Employees, Worked hours linked by employee's ID.&lt;/P&gt;
&lt;P&gt;In worked hours I have a [date], [entry time], [exit time] and [worked hours].&lt;/P&gt;
&lt;P&gt;I created 2 filter fields: Year and month (created as autocalendar of [date])&lt;/P&gt;
&lt;P&gt;On one table I display: Employees' name, sum([worked hours])&lt;/P&gt;
&lt;P&gt;On a KPI i display total number of active employees in the selected Year &amp;amp; Month(s) =&amp;gt; Count(DISTINCT [Employee Name])&lt;/P&gt;
&lt;P&gt;What I struggle to achieve is to get a table with the list of employees who were not active (zero hours worked) in the selected&amp;nbsp;Year &amp;amp; Month(s)&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-values-not-part-of-a-filter/m-p/1869374#M71785</guid>
      <dc:creator>MaxSDS</dc:creator>
      <dc:date>2021-12-11T15:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Display values not part of a filter</title>
      <link>https://community.qlik.com/t5/App-Development/Display-values-not-part-of-a-filter/m-p/1869429#M71794</link>
      <description>&lt;P&gt;HI,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try below expression to retrieve inactive employees&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;=Count({ DISTINCT&amp;lt;[Employee Name]={"=sum([worked hours])&amp;lt;=0"}&amp;gt;}&amp;nbsp; [Employee Name])&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*Apply Aggr function if needed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-values-not-part-of-a-filter/m-p/1869429#M71794</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2021-12-12T03:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Display values not part of a filter</title>
      <link>https://community.qlik.com/t5/App-Development/Display-values-not-part-of-a-filter/m-p/1869473#M71798</link>
      <description>&lt;P&gt;Thanks for the reply but this doesn't work not even to get the number of "inactive" employees.&lt;/P&gt;
&lt;P&gt;BTW getting the count was easy and I achieve it with&lt;/P&gt;
&lt;P&gt;=Count({1&amp;lt;[Employee name]={"*"}&amp;gt;} [Employee name])-Count( [Employee name])&lt;/P&gt;
&lt;P&gt;The real challenge is get the LIST of name.&lt;/P&gt;
&lt;P&gt;I tried several combination of Aggr function but the issue is (I believe) that when the results are being displayed then they filtered again.&lt;/P&gt;
&lt;P&gt;This formula still return ONLY the list of active ee and not the full list ... as I was expecting ...&lt;/P&gt;
&lt;P&gt;=Aggr(Only({1&amp;lt;[Employee name]={"*"}&amp;gt;} [Employee name]), [Employee name])&lt;/P&gt;
&lt;P&gt;I even created a separate table (not linked) with the full list of ee [Employee name full_list] but I can't find a way to "exclude" the active from that list ... something like&lt;/P&gt;
&lt;P&gt;[Employee name full_list] -&amp;nbsp;[Employee name]&lt;/P&gt;
&lt;P&gt;[Employee name full_list] -= {[Employee name]}&lt;/P&gt;</description>
      <pubDate>Sun, 12 Dec 2021 18:26:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-values-not-part-of-a-filter/m-p/1869473#M71798</guid>
      <dc:creator>MaxSDS</dc:creator>
      <dc:date>2021-12-12T18:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Display values not part of a filter</title>
      <link>https://community.qlik.com/t5/App-Development/Display-values-not-part-of-a-filter/m-p/1869491#M71800</link>
      <description>&lt;P&gt;hi ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you be able to share some sample data of two tables??&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 01:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-values-not-part-of-a-filter/m-p/1869491#M71800</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2021-12-13T01:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Display values not part of a filter</title>
      <link>https://community.qlik.com/t5/App-Development/Display-values-not-part-of-a-filter/m-p/1869631#M71815</link>
      <description>&lt;P&gt;Sure, here we go.&lt;/P&gt;
&lt;P&gt;In November EE_ID=3 ("John Pau") should be listed in the "inactive" EE, while filtering on December you should get&amp;nbsp;EE_ID=2 ("Jerry Smith").&lt;/P&gt;
&lt;P&gt;If you filter with month=October in the list of&amp;nbsp; "inactive" EE you should get all 3 EE.&lt;/P&gt;
&lt;P&gt;My target way to display these info would be a table with, as dimension, the list of "inactive" EE&lt;/P&gt;
&lt;P&gt;let me know if it's not clear enough&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 10:03:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-values-not-part-of-a-filter/m-p/1869631#M71815</guid>
      <dc:creator>MaxSDS</dc:creator>
      <dc:date>2021-12-13T10:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Display values not part of a filter</title>
      <link>https://community.qlik.com/t5/App-Development/Display-values-not-part-of-a-filter/m-p/1870377#M71863</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there should be at least one entry per granularity level (Year/Month/Week/Day) to display non recorded values in tables,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;since EE_ID =3 related records are not recorded for the entire month of Nov,&amp;nbsp;Qilk cannot show&amp;nbsp; EE_ID=3 for this month&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One possible solution would be ,&lt;/P&gt;
&lt;P&gt;Dimension : EE_ID&lt;/P&gt;
&lt;P&gt;Expression1: Active Hours&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;= sum({ 1-$} 0)+ sum(Worked_hours)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Expression 2 (Status):&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;=if(sum( Worked_hours)&amp;gt;0,'Active','Inactive')&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Comm_1869631.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68560i18AD4B1D2854FE39/image-size/large?v=v2&amp;amp;px=999" role="button" title="Comm_1869631.png" alt="Comm_1869631.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sasi&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 12:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-values-not-part-of-a-filter/m-p/1870377#M71863</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2021-12-14T12:49:55Z</dc:date>
    </item>
  </channel>
</rss>

