Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Oct 7, 2022 9:31:44 AM
Mar 11, 2017 4:43:57 PM
In many industries including education and healthcare, it is necessary to mask or de-identify certain sensitive fields for certain user groups but also be able to see the data in total for the purposes of comparison or benchmarking.
This can be achieved by setting a flag in the section access table for users to determine whether they should see the real data or a masked version of the sensitive fields. In the example below, the code is restricting some fields for users at the individual school level but allowing schools to compare their results to the rest of the schools in the data set.
Please refer to the attached QVF and remember that Section Access does not function in Qlik Sense Desktop and must be deployed to a Qlik Sense Server environment. I've also attached the QVW for the QlikView solution.
Notes
userA from SchoolA will see just Teacher and Student for School A records ONLY. All other schools will have the words De-identified in the Teacher and Student columns:
Credit to my colleague Yaniv Feldman yfe for this solution.
Matt Nunn
Qlik Consulting
Hi Matt,
is it possible to get the result as qvw as well?
Regards, Chris
No problem Chris - I've attached the sample code in a qvw.
I have followed instructions on the document above. I am trying to have all the other non admin users see only their records with the rest of the records marked as "De-Identify" . When I pull the information on my visualisation as the said users, I correctly see the user record and only one other De-Identified record. I am expecting more records to be presented in this manner but I only see 1 record. Where could I have gone wrong? Anyone please assist.
Nice work!
Hi Matt,
Is it possible the attach the files again, as I don't see them anymore on this thread.
Appreciate your help.
Regards,
Richard
Please ignore, I can see them now.
Thanks.
Richard
Hello,
Can anyone please post the script in a txt file , I am looking to get something similar.
Regards,
Matrix
Hi Matrix,
I have replied on your message with the script
Hi all. Is there any way to implement masking without having to duplicate all the data?
Thanks.