<?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 Ignore one value selection in field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignore-one-value-selection-in-field/m-p/1082930#M360686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using set analysis so that I can apply controls around the selections users make.&amp;nbsp; Imagine that I have two filters [Ticket Type] and [Catalog HPE].&amp;nbsp; In this example, I want it to sum the TICKET_COUNT for [Ticket Type] = Incidents which is easy enough.&amp;nbsp; But, I also need it to ignore the Catalog HPE selection - &lt;SPAN style="text-decoration: underline;"&gt;but only when Service Request is selected&lt;/SPAN&gt;.&amp;nbsp; If any other value (e.g. Access Control) is selected from HPE, the filter should apply like normal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the following on Google.&amp;nbsp; It gives me the total for Ticket Type = Incidents when nothing is selected.&amp;nbsp; It gives me the Total Incidents where Catalog HPE = Access Control when I select it from the filter.&amp;nbsp; However, I get 0 when I choose Service Request from Catalog HPE.&amp;nbsp; I would expect it to ignore the selection and give me the same result as if no selection had been made.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Ticket Type]&lt;/SPAN&gt;={'Incidents'},&lt;SPAN style="color: #800000;"&gt;[Catalog HPE]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; -= {'Service Request'}&amp;gt;} TICKET_COUNT) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Can anyone tell me what I am missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Feb 2016 19:33:39 GMT</pubDate>
    <dc:creator>wnorwood</dc:creator>
    <dc:date>2016-02-09T19:33:39Z</dc:date>
    <item>
      <title>Ignore one value selection in field</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-one-value-selection-in-field/m-p/1082930#M360686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using set analysis so that I can apply controls around the selections users make.&amp;nbsp; Imagine that I have two filters [Ticket Type] and [Catalog HPE].&amp;nbsp; In this example, I want it to sum the TICKET_COUNT for [Ticket Type] = Incidents which is easy enough.&amp;nbsp; But, I also need it to ignore the Catalog HPE selection - &lt;SPAN style="text-decoration: underline;"&gt;but only when Service Request is selected&lt;/SPAN&gt;.&amp;nbsp; If any other value (e.g. Access Control) is selected from HPE, the filter should apply like normal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the following on Google.&amp;nbsp; It gives me the total for Ticket Type = Incidents when nothing is selected.&amp;nbsp; It gives me the Total Incidents where Catalog HPE = Access Control when I select it from the filter.&amp;nbsp; However, I get 0 when I choose Service Request from Catalog HPE.&amp;nbsp; I would expect it to ignore the selection and give me the same result as if no selection had been made.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Ticket Type]&lt;/SPAN&gt;={'Incidents'},&lt;SPAN style="color: #800000;"&gt;[Catalog HPE]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; -= {'Service Request'}&amp;gt;} TICKET_COUNT) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Can anyone tell me what I am missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 19:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-one-value-selection-in-field/m-p/1082930#M360686</guid>
      <dc:creator>wnorwood</dc:creator>
      <dc:date>2016-02-09T19:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore one value selection in field</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-one-value-selection-in-field/m-p/1082931#M360687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;May be this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG style="color: #575757; font-size: 10pt;"&gt;If(GetFieldSelections([Catalog HPE]) = 'Service Request', Count({&amp;lt;&lt;SPAN style="font-style: inherit;"&gt;[Ticket Type]&lt;/SPAN&gt;={'Incidents'}, &lt;SPAN style="font-style: inherit;"&gt;[Catalog HPE]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; color: #3d3d3d;"&gt;&lt;STRONG style="color: #575757; font-size: 10pt;"&gt; = {'*'} - {'Service Request'}&amp;gt;} TICKET_COUNT), Count({&amp;lt;&lt;SPAN style="font-style: inherit;"&gt;[Ticket Type]&lt;/SPAN&gt;={'Incidents'}, &lt;SPAN style="font-style: inherit;"&gt;[Catalog HPE]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; color: #3d3d3d;"&gt;&lt;STRONG style=": ; color: #575757; font-size: 10pt;"&gt;&lt;STRONG&gt; = p([Catalog HPE])&amp;gt;} TICKET_COUNT))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 21:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-one-value-selection-in-field/m-p/1082931#M360687</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-09T21:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore one value selection in field</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-one-value-selection-in-field/m-p/1082932#M360688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANK YOU!!!&amp;nbsp; I had actually started working on an IF statement after my post, but I was having trouble figuring it out.&amp;nbsp; The part I was missing was GetFieldSelections([Catalog HPE]) = 'Service Request'.&amp;nbsp; I was using [Catalog HPE] = 'Service Request' which I believe was checking each record for the value instead of the filter selection value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my final expression, in case you were interested:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Catalog HPE]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'Service Request','Incidents') , &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Ticket Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Catalog HPE]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TICKET_COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Ticket Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TICKET_COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 14:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-one-value-selection-in-field/m-p/1082932#M360688</guid>
      <dc:creator>wnorwood</dc:creator>
      <dc:date>2016-02-10T14:29:31Z</dc:date>
    </item>
  </channel>
</rss>

