<?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: Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script/m-p/1632112#M733561</link>
    <description>&lt;P&gt;You can accomplish this using set analysis. Your formula would be:&lt;/P&gt;&lt;P&gt;num((sum({&amp;lt;City-={'Beijing', 'Hong Kong'}&amp;gt;}[Total Number of Attorneys])+sum({&amp;lt;City-={'Beijing', 'Hong Kong'}&amp;gt;}[Total Non-Attorneys])+sum({&amp;lt;City-={'Beijing', 'Hong Kong'}&amp;gt;}[Sublet Lawyer Offices]))/sum({&amp;lt;City-={'Beijing', 'Hong Kong'}&amp;gt;}[Maximum Attorney Capacity]),'###.%')&lt;/P&gt;</description>
    <pubDate>Mon, 07 Oct 2019 16:07:33 GMT</pubDate>
    <dc:creator>lockematthewp</dc:creator>
    <dc:date>2019-10-07T16:07:33Z</dc:date>
    <item>
      <title>Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/1632109#M733560</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I was hoping someone can help me figure out how to modify the formula shown below. Currently, the formula shown&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;STRONG&gt;= num((sum([Total Number of Attorneys])+sum([Total Non-Attorneys])+sum([Sublet Lawyer Offices]))/sum([Maximum Attorney Capacity]),'###.%');&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This formula gives you a percentage of how well attorney capacity is utilized.&amp;nbsp; If someone can help me exclude Beijing and Hong Kong, that will be amazing!&lt;/P&gt;&lt;P&gt;I want to know if there is a way to exclude specific cities, meaning, give me total utilization percentage of all cities (excluding Beijing and Hong Kong as an example)&amp;nbsp;&lt;/P&gt;&lt;P&gt;The formula is input into a text object so I don't have any way to filter things so the formula needs to be set to exclude directly within the formula.&amp;nbsp; All locations are identified under a common indicator known as "City" (I've attached a copy from a Bar chart as an example)&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_2.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20832iAEF3B1979BEBEDDF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_2.png" alt="clipboard_image_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_3.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20833i99FA4E1592B2092E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_3.png" alt="clipboard_image_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/1632109#M733560</guid>
      <dc:creator>RealEstate2018</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.qlik.com/t5/QlikView/Script/m-p/1632112#M733561</link>
      <description>&lt;P&gt;You can accomplish this using set analysis. Your formula would be:&lt;/P&gt;&lt;P&gt;num((sum({&amp;lt;City-={'Beijing', 'Hong Kong'}&amp;gt;}[Total Number of Attorneys])+sum({&amp;lt;City-={'Beijing', 'Hong Kong'}&amp;gt;}[Total Non-Attorneys])+sum({&amp;lt;City-={'Beijing', 'Hong Kong'}&amp;gt;}[Sublet Lawyer Offices]))/sum({&amp;lt;City-={'Beijing', 'Hong Kong'}&amp;gt;}[Maximum Attorney Capacity]),'###.%')&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 16:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script/m-p/1632112#M733561</guid>
      <dc:creator>lockematthewp</dc:creator>
      <dc:date>2019-10-07T16:07:33Z</dc:date>
    </item>
  </channel>
</rss>

