<?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 Section Access - logical OR on different fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267570#M711254</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was intrigued when reading your first post because you said that the Administrator could see everything and it was only the US manager who failed to see what s/he should.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was this the case? In theory the Administrator was being linked to both Employee_Country and project_country with the value "*" which would normally fail as a link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you have the "Initial data reduction based on section access" and the "strict exclusion" boxes ticked?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2011 08:05:36 GMT</pubDate>
    <dc:creator>pat_agen</dc:creator>
    <dc:date>2011-06-09T08:05:36Z</dc:date>
    <item>
      <title>Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267567#M711251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wondered if there is a way to have section access with a logical OR on two different fields. For instance, people out of different countries enter their time in a time writer application, and they book their time on projects. Each project is also linked to a country. Countrymanagers should be able to see all the time postings of their people (let's say where country = US) and also all time entries against projects from US. So they should also see the time spent from French people on US projects, and also from US people on French projects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried as follows but it gives no data when user 'USMANAGER' logs on. When ADMINISTRATOR logs on, he gets everything (as expected).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas ?&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Section Access;&lt;BR /&gt;Load * inline&lt;BR /&gt; [ACCESS, NTNAME, SEC_CODE&lt;BR /&gt; ADMIN, ADMINISTRATOR, SEC_ALL&lt;BR /&gt; USER, USMANAGER, SEC_US&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;star is *;&lt;BR /&gt;load * inline&lt;BR /&gt; [SEC_CODE , Employee_Country, Project_Country&lt;/P&gt;&lt;P&gt; SEC_ALL, *, *&lt;BR /&gt; SEC_US, US, *&lt;BR /&gt; SEC_US, *, US&lt;BR /&gt; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 14:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267567#M711251</guid>
      <dc:creator>brunodec</dc:creator>
      <dc:date>2011-06-06T14:51:23Z</dc:date>
    </item>
    <item>
      <title>Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267568#M711252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Think that the script should do. Have you tried to change the fieldnames Employee_Country resp. Project_Country in capitals?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 19:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267568#M711252</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2011-06-06T19:10:15Z</dc:date>
    </item>
    <item>
      <title>Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267569#M711253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the fieldnames to capitals, but this gives the same result. &lt;BR /&gt;&lt;A&gt;&lt;/A&gt;In the manual I found a close saying &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I guess this is the reason why it doesn't work ?&lt;/P&gt;&lt;P&gt;﻿Any other suggestions ...? &lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;﻿regards,&lt;/P&gt;&lt;P&gt;﻿&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bruno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;The star symbol is not allowed in information files. Also, it cannot be used in&lt;/P&gt;&lt;P&gt;key fields, i.e. fields used to join tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 07:40:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267569#M711253</guid>
      <dc:creator>brunodec</dc:creator>
      <dc:date>2011-06-09T07:40:01Z</dc:date>
    </item>
    <item>
      <title>Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267570#M711254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was intrigued when reading your first post because you said that the Administrator could see everything and it was only the US manager who failed to see what s/he should.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was this the case? In theory the Administrator was being linked to both Employee_Country and project_country with the value "*" which would normally fail as a link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you have the "Initial data reduction based on section access" and the "strict exclusion" boxes ticked?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 08:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267570#M711254</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-06-09T08:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267571#M711255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might hve not selected the initial data reduction in your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find a sample file and the screen shot of the initial data reduction feature.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 08:36:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267571#M711255</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-06-09T08:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267572#M711256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Pat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both "Initial data reduction.." as "Strict exclusion" were selected. I tried without "strict exclusion" but this didn't change anything.&lt;/P&gt;&lt;P&gt;Yes as Administrator I can see everything. I will post a sample file based on Deepak's reply so you can see what happens. &lt;/P&gt;&lt;P&gt;First I thought that the data reduction happened row by row: for user USMANAGER first step is to reduce all data where Employee_Country is not US; second step (on the result of step 1) is to reduce the data where Project_Country is not US.&amp;nbsp; But this should still give me the data for US employees working on US projects, and even these data are missing...&amp;nbsp; caused by the star link??&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 09:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267572#M711256</guid>
      <dc:creator>brunodec</dc:creator>
      <dc:date>2011-06-09T09:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267573#M711257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regarding the Initial Data reduction... see also my reply to Pat. &lt;/P&gt;&lt;P&gt;I would have loved to insert a sample file based on your file, but I can't find how to attach it here... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;Anyway, it's just this little script so anyone can just copy-paste it.&lt;/P&gt;&lt;P&gt;If you open it as administrator, you see all hours (totalling 20 hours). As USmanager, you see no data, where I try to find a solution to see 5+6+2=13 hrs&lt;/P&gt;&lt;P&gt;Oh&amp;nbsp; finally I found the attach button at the bottom &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bruno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Section Access;&lt;BR /&gt;Load * inline&lt;BR /&gt; [ACCESS, USERID,PASSWORD, SEC_CODE&lt;BR /&gt; ADMIN, ADMINISTRATOR, ,SEC_ALL&lt;BR /&gt; USER, USMANAGER,,SEC_US&lt;BR /&gt;];&lt;BR /&gt;Section Application;&lt;BR /&gt;//star is *;&lt;BR /&gt;load * inline&lt;BR /&gt; [SEC_CODE , EMPLOYEE_COUNTRY, PROJECT_COUNTRY&lt;BR /&gt; SEC_ALL, , &lt;BR /&gt; SEC_US,US, &lt;BR /&gt; SEC_US, , US&lt;/P&gt;&lt;P&gt; ];&lt;BR /&gt;/// SEC_US, , US&lt;BR /&gt;//Section Application;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Employee, EMPLOYEE_COUNTRY, ProjectID, PROJECT_COUNTRY, HOURS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; John, US, PRJ_01, US, 5&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; John, US, PRJ_02, NL, 6&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kees, NL, PRJ_01, US, 2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kees, NL, PRJ_02, NL, 7&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 10:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267573#M711257</guid>
      <dc:creator>brunodec</dc:creator>
      <dc:date>2011-06-09T10:16:04Z</dc:date>
    </item>
    <item>
      <title>Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267574#M711258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i've kicked this around a bit but always come up with the results you posted. That is the administartor sees everything whereas usmanager sees nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it the star "*" for linking tables? I don't know because the adminstrator has this. What is certain is that your security table in section application has two fields in common with your fact (project) table. Qv creates a synthetic key to handle this, not in itself a bad thing but shows that the link between your security and the project is a combination of employee_country and project_country. QV accepts this when both parts are "star" but obviously is unhappy when one half is star and the other isn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One piece of information I found whilst looking at this is that since qv8.5 r3 if more than one reduction field is used in section access, if any user has more than one record and those choices are mutually exclusive the user will not get into the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in theory you have avoided this by only having the one reduction field in section access but maybe the fact qv introduced this restriction is a pointer to why your solution isn't working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our environment we have similar security considerations - why I'm interested in how this will pan out, there are some pretty qv savvy people out there who may be reading this and supply the correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have dealt with this in two ways. Firstly is to have two documents each with different section access. so you would have a project by country doc and a project by employee doc. The reasoning being a) security is simplified and b) the document defines the analysis being made. For example what you call a country manager is in one instance being a geographical manager (overseeing all projects in the US) but in the other instance is being a people manager (overseeing all projects performed by US employees). The second way is to explicitly generate all the possible combinations of your fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case it could be solved by having a single field in section access (called say COUNTRY). then link country to a table containing the really existing combinations from your project table. The code to do that isn't terrifying and the performance implications would probably be negligeable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like this (added after loading of your project data):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;securityLinkTable:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; project_country as COUNTRY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; project_country &amp;amp; '|'&amp;nbsp; &amp;amp; employee_country as securityKeyProjectTable&lt;/P&gt;&lt;P&gt;resident projects;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; employee_country as COUNTRY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; project_country &amp;amp; '|'&amp;nbsp; &amp;amp; employee_country as securityKeyProjectTable&lt;/P&gt;&lt;P&gt;resident projects;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps of course you will need to add the securityKeyProjectTable to your project table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keep me posted if you come up with another solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 12:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267574#M711258</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-06-09T12:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267575#M711259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks for this reply. It holds very usefull information, and both options are worth consideration.&amp;nbsp; &lt;/P&gt;&lt;P&gt;The option to explicitely generate all the possible combinations also crossed my mind, but in fact I wanted to do this on 4 fields, and the example with 2 fields was only to show the basic problem. Nevertheless I will see if I can work it out in one way or the other you suggested.&lt;/P&gt;&lt;P&gt;Thanks again, &lt;/P&gt;&lt;P&gt;Bruno.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 16:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267575#M711259</guid>
      <dc:creator>brunodec</dc:creator>
      <dc:date>2011-06-09T16:02:36Z</dc:date>
    </item>
    <item>
      <title>Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267576#M711260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's an interesting problem, but I also think your first approach will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What makes me wonder, I see no data at all within your sample application, even as ADMINISTRATOR.&lt;/P&gt;&lt;P&gt;Thats what I also would expect, since I don't think the NULL or star nomenclature will work as you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to play around a bit further, it might be useful to disable the data reduction in document property, thus you can see the effect for the users by simply selecting the SEC_CODE (without the need to log in / out).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you then create table box with all fields, it looks like your approach doesn't filter the project table as wanted, instead added four lines to the table (i.e. appended the security table to the project table leaving the unset fields empty. If you then filter the SEC_CODE, you will always got no data for the hours).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Section.PNG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5177_Section.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;So if you want to work further on your approach, I think you have to handle the synthetic key, which obviously works not as you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 18:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267576#M711260</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-06-10T18:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267577#M711261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your post confused me, because I had tested it before and as an administrator I was quite sure I saw all the data, but when I now retried I saw no data at all, so you were right about that. Also, your comment gives some insight in what the synthetic key does.&lt;/P&gt;&lt;P&gt;After some playing around, I found out that when you use the space as wildcard, the administrator sees nothing. When you use the * preceeded by the expression 'star is *', as I did in my original post, then it turns out that the administrator sees all the data (see result in the image). Don't ask me why...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ResultAsAdministratorWithStar.bmp" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5232_ResultAsAdministratorWithStar.bmp" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Of course, back to the original problem, as USMANAGER, you still don't see any hours.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bruno.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 09:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267577#M711261</guid>
      <dc:creator>brunodec</dc:creator>
      <dc:date>2011-06-15T09:47:05Z</dc:date>
    </item>
    <item>
      <title>Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267578#M711262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After having reloaded a document, you can see all the data.&lt;/P&gt;&lt;P&gt;You need to close not only the document, but the entire QV-session in order to see the data as per your profile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 19:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267578#M711262</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2011-06-15T19:51:50Z</dc:date>
    </item>
    <item>
      <title>Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267579#M711263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After having thought a moment on this problem, think that you cannot combine the fields, but must divide them into individual pieces.&lt;/P&gt;&lt;P&gt;The below should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt; [ACCESS, USERID,PASSWORD, SEC_CODE&lt;/P&gt;&lt;P&gt; ADMIN, ADMINISTRATOR, , SEC_ALL&lt;/P&gt;&lt;P&gt; USER, USMANAGER, , SEC_US];&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;star is *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt; [SEC_CODE , COUNTRY&lt;/P&gt;&lt;P&gt; SEC_ALL, *&lt;/P&gt;&lt;P&gt; SEC_US, US];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD *,&amp;nbsp; EMPLOYEE_COUNTRY &amp;amp; '-' &amp;amp; PROJECT_COUNTRY&amp;nbsp; AS SEC_ID INLINE [Employee, EMPLOYEE_COUNTRY, ProjectID, PROJECT_COUNTRY, HOURS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; John, US, PRJ_01, US, 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; John, US, PRJ_02, NL, 6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kees, NL, PRJ_01, US, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kees, NL, PRJ_02, NL, 7];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SecurityCountry:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SEC_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUBFIELD(SEC_ID, '-')&amp;nbsp;&amp;nbsp;&amp;nbsp; AS COUNTRY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESIDENT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 20:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267579#M711263</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2011-06-15T20:11:14Z</dc:date>
    </item>
    <item>
      <title>Section Access - logical OR on different fields</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267580#M711264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your solution is pretty much the same idea as pat.agen's second option. And it just works ! including a new function 'SUBFIELD' which makes it easy to generate records for each part from a given combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks to all of you for taking the time to share your thougths on this subject. You've been very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Bruno. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 12:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-logical-OR-on-different-fields/m-p/267580#M711264</guid>
      <dc:creator>brunodec</dc:creator>
      <dc:date>2011-06-16T12:35:23Z</dc:date>
    </item>
  </channel>
</rss>

