Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
soniasweety
Master
Master

Need help on section access

Hi all,

i want to implement the section access by region ..

i have a region field in Database 

Region

AMS

APJ

EMEA.

 

so  admin should see  3 regions data  and   who ever having the access for perticular region they should see respective region data.

 

im using below script but its not working as expected.

SECTION Access;

UserList:
LOAD 
     UPPER(ACCESS) AS ACCESS, 
     UPPER(NTNAME) AS NTNAME, 
upper(DATAFIELD) as REGION    
FROM
[..\data.qvd](qvd);

Concatenate
LOAD * Inline [
ACCESS, NTNAME, REGION
ADMIN, AUTH\$qv09, *
ADMIN, AUTH\$qv08, *

]; 
SECTION Application;

Labels (2)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

 

The star only include all values mentioned in the Section Access REGION-field. Adding the three users will allow your admins to see all three. 

SECTION Access;

UserList:
LOAD 
     UPPER(ACCESS) AS ACCESS, 
     UPPER(NTNAME) AS NTNAME, 
upper(DATAFIELD) as REGION    
FROM
[..\data.qvd](qvd);

Concatenate
LOAD * Inline [
ACCESS, NTNAME, REGION
ADMIN, AUTH\$qv09, *
ADMIN, AUTH\$qv08, *
USER, AUTH\AMSUser, AMS
USER, AUTH\APJUser, APJ
USER, AUTH\EMEAUser, EMEA ]; SECTION Application;

 

 

View solution in original post

3 Replies
Vegar
MVP
MVP

 

The star only include all values mentioned in the Section Access REGION-field. Adding the three users will allow your admins to see all three. 

SECTION Access;

UserList:
LOAD 
     UPPER(ACCESS) AS ACCESS, 
     UPPER(NTNAME) AS NTNAME, 
upper(DATAFIELD) as REGION    
FROM
[..\data.qvd](qvd);

Concatenate
LOAD * Inline [
ACCESS, NTNAME, REGION
ADMIN, AUTH\$qv09, *
ADMIN, AUTH\$qv08, *
USER, AUTH\AMSUser, AMS
USER, AUTH\APJUser, APJ
USER, AUTH\EMEAUser, EMEA ]; SECTION Application;

 

 

cokiston
Contributor
Contributor

Apologies if I am using your post for my question, is just that I couldn't find how to open a discussion in this page.

I need some help in QlikSense for the below scenario:

Column A contains an identifier that will be duplicate if an RT and GF Date exist, if only one exist then the Qlik sense table shows only 1, what I need is a formula for a column that will show the GF Date in the RT row and vice versa. is that possible??

Column AColumn BColumn CDesired Column:
123456789RT12/13/201911/10/2018
123456789GF11/10/201812/13/2019
987654321RT1/4/20198/3/2017
987654321GF8/3/20171/4/2017
soniasweety
Master
Master
Author

Hi Vegar  thanks for your response.

the way you given is working perfectly.  

 

but the user info we are getting as seperate qvd.  from there it will fetch ..now its working fine.