Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Section Access

There are a million posts about section access and I think reading them is making me more confused.

I am trying to apply simple logic that would look like....

section Access;
LOAD ACCESS,
    
USERID,
    
PASSWORD,
    
GROUP
FROM
[..\Passwords\QV_Passwords.xlsx]
(
ooxml, embedded labels, table is CompPlan);

section application;
LOAD USERID,
    
SECURITY_DEPT
FROM
[..\Passwords\QV_Passwords.xlsx]
(
ooxml, embedded labels, table is CompPlan);

ACCESSUSERIDPASSWORDGROUPSECURITY_DEPT
ADMIN ADMIN ADMINADMIN
ADMIN M00768BMGCOMPADMIN
ADMINM01122BMGCOMPADMIN
ADMINM09849BMGCOMPADMIN
USERM09000BMGCOMPCHIEFSURGERY

The blanks in Security Department should be ALL departments.  I have tried combinations with * and 'Star is *' (which I still do not understand) but when I run the script the reduction for 'M09000' works correctly and when I sign in as an ADMIN everything is blank.

Is there a way to say ALL departments without listing out every single one (There are quite a few!)??

24 Replies
Not applicable
Author

Sorry, I think the problem might be in my over simplified sample.  I took that same logic and applied it to my actual application and it wasn't the same results.  ALTHOUGH... I am using your logic combined with something that Nandkishor posted earlier and it seems to be working right now... but I am hesitant to say that because I have thought that before.

I will need to do some more work/testing first.

Thanks, you have been a HUGE help!

Anonymous
Not applicable
Author

It's the same problem that Katie had at the beginning.  If you want to use data reduction, you must:

- Have a separate field for the data reduction in Section Access.  It cannot be USERID or any other system field.  If you want user to see all listed data, use *.  If you want user to see all data (listed or not), use blank.

- Have the same data reduction field in section application.

- The field must have name all caps and values all caps.

Regards,

Michael

Anonymous
Not applicable
Author

Hi Michael,

Unable to open QVW file,its asking user id,please advise

Thanks

Nitha

Anonymous
Not applicable
Author

Nitha, try admin/admin

(all users/passwords are in the opening post)

Anonymous
Not applicable
Author

Thanks michael its working