Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
rsdhavle
Creator III
Creator III

Conditional Column Based on User logged in Qliksense Dashboard

In case we have to make a column value conditional based on who has logged in how can we do it? We can't use OMIT in this case as complete object becomes incomplete visualization when we use OMIT.

Example:

If user = 1, values in column = X

user = 2 values in column = Y

5 Replies
MK9885
Master II
Master II

Never tested and I think it won't work but just an idea....

if(osuser()= 'DOMAIN\USER1', Sum (Value),

if(osuser()= 'DOMAIN\USER2', Sum (Rates)))

Usually you cannot hide the column unless it is Section Access OMIT field

unless you write a new security rule in QMC but that would disable the object based on user name and not column.

Have you looked into Container?

I think there is an extension for Conditional Hide/Show of charts within the container.

rsdhavle
Creator III
Creator III
Author

I dont want to hide field and OMIT has issues in Qliksense. It shows incomplete visualisation.

OSuser is always system user that is the another problem

MK9885
Master II
Master II

osuser will not return same id always...

it would their AD name which is unique

rsdhavle
Creator III
Creator III
Author

yes thats the reason unable to make it conditional based on which user is accessing

MK9885
Master II
Master II

use conditional hide and show container extension.