Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
rishimessi19
Contributor II
Contributor II

Omit and Reduce - Section Access

Hi

I have the following Data:

EMP_IDSalaryGender
1100M
2200M
3300M
4400F

 

How to achieve the below 2 scenarios using Section access?

Scenario 1

USER1 has access to EMP_ID 1 & 2 and can see both their salaries but only 1's Gender. The resultant table should look like this when USER1 logs in:

EMP_IDSalaryGender
1100M
2200 

 

Scenario 2

USER2 cannot see EMP_ID 3's salary . The resultant table should look like this when USER2 logs in:

EMP_IDSalaryGender
1100M
2200M
3 M
4400F

 

Note 1: I tried OMIT, but QlikView Omits the entire column and not partially. 

Note 2: The salary and Gender information are in the same table.

Labels (5)
6 Replies
qliksus
Specialist II
Specialist II

What you are expecting is not reduction its hiding  its better to have this defined in the back end instead of doing a conditional based hide in the front end  . Maybe , just create a new field called Salary1 ,Gender1 and use that fields in your front end 

 

 EMP_IDSalaryGenderSalary1Gender1
User11100M100 M
User12200M200 
User23300M M
User24400F400F
User21100M100M
User22200M200M
      
      
rishimessi19
Contributor II
Contributor II
Author

Hi 

 

Thanks for the reply. Gender and Salary is just an example I took to describe the requirement.

In the real time scenario I have many fields and many users. Can you provide a better solution for if possible?

Bill_Britt
Former Employee
Former Employee

Hi,

Take a look at Section Access 101 PDF I have attached. Also, check out Henric's Blog (link below)

 

https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Section-Access/ba-p/1465766

 

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Bill_Britt
Former Employee
Former Employee

Hi,

 

Take a look at this. Logins are

ADMAN

USER1

USER2

USER3

USER4

Just hit OK on password.

 

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
rishimessi19
Contributor II
Contributor II
Author

Hi Bill

Thank you for the reply. But your solution does not meet the requirement.

1. I have only 2 users

2. The Salary and Gender data in your solution does not hide/show as stated in the requirement.

Can you please let me know if you have any other ideas?

Brett_Bleess
Former Employee
Former Employee

I would suggest you go through the Design Blog post link Bill attached to the thread and begin there, I am also including the Help link for Section Access too.  If you want direct assistance in working out your application, that is really something the consultants would be used to do or one of our many partners would be happy to help you out as well in that case...

https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Security.htm

I believe between the Design Blog post, which has some further links to other related posts in it, and the above Help link, should give you the educational material you need to sort things out.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.