<?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: Setanalysis with getfieldselection field issues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042436#M350741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this&lt;/P&gt;&lt;P&gt;&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;count({&amp;lt;Ticket_Type = {"=getfieldselections(Ticket_Type)"} &amp;gt;} distinct Incident)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Apr 2016 11:13:21 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2016-04-15T11:13:21Z</dc:date>
    <item>
      <title>Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042427#M350732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need help to understand what is going wrong with my syntax of getfield used in conjunction with set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying count the number of tickets when the user selects the field in the list box&amp;nbsp; titled 'Ticket Type'. I have used the below syntax but it shows an error in the set modifier when i type the below. I am not able to understand what is going wrong with it Can somebody please help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct {&amp;lt;Ticket_Type = {=getfieldselection(Ticket_Type)}Incident&amp;gt;})&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 10:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042427#M350732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-15T10:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042428#M350733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you need any set analysis here: Have you tried this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT Incident)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:01:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042428#M350733</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-15T11:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042429#M350734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: count({&amp;lt;Ticket_Type = {"$(=getfieldselection(Ticket_Type))"} &amp;gt;} distinct Incident)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042429#M350734</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-04-15T11:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042430#M350735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to calculate basis the value selected in the listbox. so when the value is Alerts then the count needs to be updated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042430#M350735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-15T11:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042431#M350736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i put ' " ' i.e double quotes the gefieldselection does not appear in blue it appear as a text and not as predefined formula..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042431#M350736</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-15T11:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042432#M350737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count(distinct {&amp;lt;Ticket_Type = {"$(=getfieldselection&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;s&lt;/STRONG&gt;&lt;/SPAN&gt;(Ticket_Type))"}&lt;SPAN style="color: #ff0000;"&gt;&amp;gt;}&lt;/SPAN&gt; Incident)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042432#M350737</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-04-15T11:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042433#M350738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The double-quotes surrounding an expression within a set analysis are mandatory to be calculated and yes they won't be regognized as an expression from syntax checker then they won't be considered as a nested function inside from another function then this part is mainly a dataset (even if the result comes from an expression).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: and have a look on the red chars in Treseco's answer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042433#M350738</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-04-15T11:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042434#M350739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe Sunny is right here, or we are missing something else:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(DISTINCT Incident) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should already consider user selections in TicketType. Or if you want to check if there is a single selection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If( GetSelectedCount( TicketType)= 1, &lt;SPAN style="font-size: 13.3333px;"&gt;Count(DISTINCT Incident)&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042434#M350739</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-15T11:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042435#M350740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what happens when i use quotes..it all appears in red&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:12:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042435#M350740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-15T11:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042436#M350741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this&lt;/P&gt;&lt;P&gt;&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;count({&amp;lt;Ticket_Type = {"=getfieldselections(Ticket_Type)"} &amp;gt;} distinct Incident)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:13:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042436#M350741</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-04-15T11:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042437#M350742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attaching the screenshot of the syntax. values appear blank. though it states that the expression is ok..normally the formulas should appear in blue but is not the case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042437#M350742</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-15T11:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042438#M350743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no idea why you need GetFieldSelections here? Can you elaborate the requirement a little more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042438#M350743</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-15T11:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042439#M350744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are few bracket issues. Try to copy the expression suggested above and try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:14:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042439#M350744</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-04-15T11:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042440#M350745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps, he wants the output on selection only. I.e. - no result until any selection is there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042440#M350745</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-04-15T11:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042441#M350746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it should be $ not &amp;amp;&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;count(distinct {&amp;lt;Ticket_Type = {"&amp;amp;(=getfields&lt;SPAN style="color: #575757;"&gt;elections(Ticket_Type))"}&amp;gt;} Incident)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count(distinct {&amp;lt;Ticket_Type = {"$(=getfieldselections(Ticket_Type))"}&amp;gt;} Incident)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 12:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042441#M350746</guid>
      <dc:creator>t_chetirbok</dc:creator>
      <dc:date>2016-04-15T12:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042442#M350747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 12:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042442#M350747</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-04-15T12:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042443#M350748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case, what about this approach that Stefan mentioned?&lt;/P&gt;&lt;P&gt;&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;=If(GetSelectedCount(TicketType) = 1, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Count(DISTINCT Incident))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or&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;=If(GetSelectedCount(TicketType) &amp;gt;= 1, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Count(DISTINCT Incident))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Count(DISTINCT Incident) * RangeMin(Alt(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;GetSelectedCount(TicketType), 1), 1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 12:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042443#M350748</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-15T12:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042444#M350749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked the second time when i pasted it. Thanks for the explanation. I learnt something new.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 07:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042444#M350749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-20T07:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042445#M350750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the syntax.. It worked. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 07:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042445#M350750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-20T07:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Setanalysis with getfieldselection field issues</title>
      <link>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042446#M350751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked with the $ syntax as &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&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;"$(=getfieldselections(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;[Incident]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 07:30:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setanalysis-with-getfieldselection-field-issues/m-p/1042446#M350751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-20T07:30:12Z</dc:date>
    </item>
  </channel>
</rss>

