Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Limit user from seeing his Colleagues' data

Hi,

I have a table named Account Manager (lets call it AM). I need that the administrators can see all of AM names in this dimension, but on the other hand, an account manger is allowed to see only his name, and all the others account managers will get the name "Other AM' (so we conceal the names of the other account managers, but not the data itself).

How can i accomplish this?

Thanks,

Guy

2 Replies
Not applicable
Author

First I'd check how osuser() displays, then I'd map user names to the Account Handler names in your script.

Username, AccountHandler

sys\c.j,Chris

Then, on your chart I'd set up your dimension to say if(osuser()=Username,AccountHandler,'Other AM')

This will however group all your account handlers into one row...

Not applicable
Author

What i am trying to achieve is a way that when a user log into the QlikView Document, the Account Manger dimension will be actually changed this way:

From:

Account Manager IDAccount Manager Name
1Guy Dav
2Yuri Gal
3Galfend Ami
4Annand Tiber

To:

Account Manager IDAccount Manager Name
1Guy Dav
2Other AM
3Other AM
4Other AM

It is importent since i need to use the dimension in a SET ANLYSIS expression, and i beleive that a solution as described above will be suitable for this porpose.

Thanks,