In a Qlik dashboard, it's often necessary to find the right balance between data analysis and the protection of sensitive information.
For example, each salesperson may need access to their own detailed resultswhile only seeing anonymized indicators for othersThis approach makes it possible to compare performance or calculate global totalswithout ever exposing colleagues’ individual data.
In this article, we will see how to implement a dynamic Section Access in Qliktoanonymize all or part of the sales while keeping the entire dataset intact within the data model.
Dashboard before anonymization
Dashboard after anonymization
The goal of this approach is to reconcile business analysis with the protection of sensitive data.More specifically, it aims to:
The script is based on three main concepts..
The first consists of creating an anonymous copy of the salespeople..
Each salesperson is duplicated in the data model under an anonymized identity:
The data remains complete and fully usable; only individual identification is neutralized.
This table defines access rights per salesperson.
Users are associated either with salesperson keys or with anonymized combinations.
Access restriction rules are then applied automatically when the application is loaded, ensuring consistent and transparent access control.
The script automatically generates all possible combinations for each salesperson:
This information is then used by Section Access to dynamically control data visibility.
A diagram of the modeling steps is shown below :
This method allows sales teams to compare their performance with that of others without ever accessing confidential individual data. Each user can position themselves relative to averages or global trends while respecting colleagues’ privacy.
Combining anonymization with dynamic Section Access offers an excellent compromise between security and analysis: sensitive data is protected while Qlik’s analytical value is fully preserved.
To fully understand the value of this approach, it is essential to compare the same dashboard in two situations:
The goal is not simply to hide names, but to ensure that analyses remain relevant, readable, and actionable, despite access restrictions.
Leave a Reply