<?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: Expression Count( {&amp;lt;$Field={aFieldName}&amp;gt;} $Field)=1 always giving result 1 after publish in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841085#M1331325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What would be result when Field be OMITed for User B&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;"&gt;count(unavailable Field)=?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 May 2015 06:40:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-25T06:40:25Z</dc:date>
    <item>
      <title>Expression Count( {&lt;$Field={aFieldName}&gt;} $Field)=1 always giving result 1 after publish</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841081#M1331314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Expression Count( {&amp;lt;$Field={aFieldName}&amp;gt;} $Field) is returning 1 in all condition after publish the document to server. Why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;This expression I am using to Hide List box when Field used in it is OMITed for few users.&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same is working correctly on Client Machine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/163197" target="_blank"&gt;https://community.qlik.com/thread/163197&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841081#M1331314</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Count( {&lt;$Field={aFieldName}&gt;} $Field)=1 always giving result 1 after publish</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841082#M1331317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume that your section access don't worked as you expected it on the server. You will login with a different user and there are some section access differences between server and desctop, too: &lt;A href="https://community.qlik.com/docs/DOC-8633"&gt;Section Access: Desktop vs Server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 06:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841082#M1331317</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-25T06:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Count( {&lt;$Field={aFieldName}&gt;} $Field)=1 always giving result 1 after publish</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841083#M1331319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Section access working as expected and It is OMITTING the column Which I want to Omit but Only this expression not changing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked by doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a new Sheet add the column (Omit Column) and also expression &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count( {&amp;lt;$Field={aFieldName}&amp;gt;} $Field)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I publish my app to server and log in with 2 different users A and B where A should see the column and B should not see the column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In App, For user A I am seeing Column and Expression value 1 and for user B I am not able to see column (unavailable) and its values but still expression is having value 1. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 06:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841083#M1331319</guid>
      <dc:creator />
      <dc:date>2015-05-25T06:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Count( {&lt;$Field={aFieldName}&gt;} $Field)=1 always giving result 1 after publish</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841084#M1331322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wouldn't be a simple expression like count(FieldName) enough for such a visibility-condition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 06:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841084#M1331322</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-25T06:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Count( {&lt;$Field={aFieldName}&gt;} $Field)=1 always giving result 1 after publish</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841085#M1331325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What would be result when Field be OMITed for User B&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;"&gt;count(unavailable Field)=?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 06:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841085#M1331325</guid>
      <dc:creator />
      <dc:date>2015-05-25T06:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Count( {&lt;$Field={aFieldName}&gt;} $Field)=1 always giving result 1 after publish</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841086#M1331329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't tested it yet. But you need only one value for the condition and therefore something like if(count(FieldName)&amp;gt;=1, true()) should work. Maybe a getpossiblecount() could be an alternatively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 06:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841086#M1331329</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-25T06:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Count( {&lt;$Field={aFieldName}&gt;} $Field)=1 always giving result 1 after publish</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841087#M1331332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please trying publishing this document and see Salary List box is hiding or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching sample QVW and Data in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just add your Domain and User Name in Excel and then Uncomment Section access in QVW and reload save and publish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added Expression Count( {&amp;lt;$Field={[Salary]}&amp;gt;} $Field)&amp;gt;=1 for Salary List box on Sheet 1 and SubStringCount(Concat([$Field], '|'), 'Salary')&amp;gt;=1 for Salary List box on Sheet 2 but none of them are working after publish to server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Desktop It is working. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 05:38:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841087#M1331332</guid>
      <dc:creator />
      <dc:date>2015-05-26T05:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Count( {&lt;$Field={aFieldName}&gt;} $Field)=1 always giving result 1 after publish</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841088#M1331334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the solution for hiding a listbox if field used under it is getting OMITed for few users.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #1f497d;"&gt;I kept this expression in Listbox Properties&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;--&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #1f497d;"&gt;Layout&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;--&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #1f497d;"&gt;Show&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;--&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #1f497d;"&gt;Conditional&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;--&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;FieldValue&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;('Your Field name',1))=0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;It is working as expected.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;To explain how this works:&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;The FieldValue function looks at the Symbol table for the field in the first parameter (note that the field name is in single quotes), for the entry in the symbol table in the position of the second parameter&lt;/LI&gt;&lt;LI&gt;If this function does not find a value in the symbol table, it will return a NULL&lt;/LI&gt;&lt;LI&gt;So this expression looks in the symbol table – if there are no values available to the logged on user this will return a NULL.&amp;nbsp; We wrap this inner function with an isull() function and check if it returns zero&lt;/LI&gt;&lt;LI&gt;If the logged on user has access to the nominated field the complete expression will return -1, so the object will be shown, but if the logged on user does not have access to the field the complete expression will return zero and the object will be hidden&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 00:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Count-lt-Field-aFieldName-gt-Field-1-always-giving/m-p/841088#M1331334</guid>
      <dc:creator />
      <dc:date>2015-06-10T00:42:52Z</dc:date>
    </item>
  </channel>
</rss>

