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

SECTION ACCES

HI,
i have questions about using the dct section access and data reduction, i followed the next step.
I defined in my script the access table: user_id, password, privilege
then I enabled the data reduction feature in the document properties.
at this step, I did not understand how used the where to reduce the data,
  load * from X where REGION = (the user)
and a second point if I will not use the password is that it poses a problem

 

THANK YOU

1 Solution

Accepted Solutions
Brett_Bleess
Former Employee
Former Employee

Just a potential help for you going forward if you get into more complex setups, here is a Design Blog post from Henric Cronstrom on Section Access, there are some associated links at the bottom of the post as well to other related topics, this should be a big help hopefully.

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

Oh, and one troubleshooting step I use is to comment the Section Access line of the script, but I leave the rest of the table load, this way it becomes part of the visible data model, so you can check things out that way to be sure things are connecting properly, and you can then also use List Boxes to be sure when you select a user, the other fields reduce down properly etc., and once you know you are good, then uncomment the Section Access line again and put it out there for final testing.  As always, when doing Section Access, be sure to keep a backup of the file without Section Access somewhere in case you lock yourself out of the app! 🙂

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.

View solution in original post

3 Replies
sunny_talwar

Already back to working?

I am not sure I understand your question, would you be able to elaborate a little?

souadouert
Specialist
Specialist
Author

Hello suuny 

yes I work hahaha
I solved my problem the idea is to reduce the data according to the connected user profile

Brett_Bleess
Former Employee
Former Employee

Just a potential help for you going forward if you get into more complex setups, here is a Design Blog post from Henric Cronstrom on Section Access, there are some associated links at the bottom of the post as well to other related topics, this should be a big help hopefully.

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

Oh, and one troubleshooting step I use is to comment the Section Access line of the script, but I leave the rest of the table load, this way it becomes part of the visible data model, so you can check things out that way to be sure things are connecting properly, and you can then also use List Boxes to be sure when you select a user, the other fields reduce down properly etc., and once you know you are good, then uncomment the Section Access line again and put it out there for final testing.  As always, when doing Section Access, be sure to keep a backup of the file without Section Access somewhere in case you lock yourself out of the app! 🙂

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.