<?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: Create a selection criteria for when a folder is full in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-selection-criteria-for-when-a-folder-is-full/m-p/1103292#M365648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your data model look something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Folders Table: Folder, Max Clients, other folder fields&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Clients Table: Client, Folder, Age, other client fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you want to select 18+ in the front end, and then be able to eliminate all Folders that are still have a count(Client) &amp;gt;= Max Clients, because they're considered Full?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, then I believe you could use a list box with an expression like this, and select 'Not Full':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=aggr(if(count([Client])&amp;gt;=only([Max Clients]),'Full','Not Full'),Folder)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2016 23:00:06 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2016-06-23T23:00:06Z</dc:date>
    <item>
      <title>Create a selection criteria for when a folder is full</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-selection-criteria-for-when-a-folder-is-full/m-p/1103291#M365647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I am in the process of making a qlik app that allows a provider to determine if a folder is full. The folder holds personal information of clients. Each folder has a designated number and each folder can hold different amount of information. One folder may hold 15 clients info and another may only hold 2. I already have a criteria that allows the user to select if the client is 18 and older, and now I need a sql code assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a way to determine after selecting the criteria 18 and over, if the folder is full. If the folder is full then we can eliminate it. But if 14 out of the 15 are over 18, then we need to save the folder. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 18:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-selection-criteria-for-when-a-folder-is-full/m-p/1103291#M365647</guid>
      <dc:creator>cjett7769</dc:creator>
      <dc:date>2016-06-23T18:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create a selection criteria for when a folder is full</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-selection-criteria-for-when-a-folder-is-full/m-p/1103292#M365648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your data model look something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Folders Table: Folder, Max Clients, other folder fields&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Clients Table: Client, Folder, Age, other client fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you want to select 18+ in the front end, and then be able to eliminate all Folders that are still have a count(Client) &amp;gt;= Max Clients, because they're considered Full?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, then I believe you could use a list box with an expression like this, and select 'Not Full':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=aggr(if(count([Client])&amp;gt;=only([Max Clients]),'Full','Not Full'),Folder)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 23:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-selection-criteria-for-when-a-folder-is-full/m-p/1103292#M365648</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-06-23T23:00:06Z</dc:date>
    </item>
  </channel>
</rss>

