Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Linking OSUser to EmployeeId

Hi everyone,

I am trying to create a permissioning model for a tab of my qlikview app. Therefore I would like to somehow link OSUser to EmployeeId. Currently by just using:

OSUser()
it recognises which user has logged onto the dashboard.

This is a sample of a table of some of the other data I have brought in.

ECDEmployeeIdECDNTAccount
68244FM\123456
93328FM\123457
83276FM\123458
87230FM\123459
83160FM\123460
158724FM\123461
105484FM\123462
95232FM\123463
13334FM\123464
13334FM\123465
93914FM\123466
93914FM\123467
113351FM\123468
113351FM\123469


I then put in the code in a separate table:


Load
upper(OSUser) as ECDNTAccount;


I want to be able to write some code where the dashboard would recognise the OSUser and then take the corresponding EmployeeId from this. However, all methods so far have not been successful. Has anyone any ideas how to do this? I tried using getcurrentselections function but again, it did not work.

1 Reply
Not applicable
Author

You can try to put a trigger in the document properties. Access the property of the document and go on the tab trigger. Add a trigger selection, where the field ECDNTAccount receive the contents of the function upper (OsUser()).

Regards,

Tonial.