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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
agigliotti
MVP
MVP

Qlik Sense how to hide chart/custom object

Hello,

Our customer asking us if is possible to hide some chart objects within a sheet based on user profile.

I know i'm able to hide a whole sheet object through security rules.

Please let me know asap.

Many thanks in advance.

BR

Andrea

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
7 Replies
stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

As far as I am aware there are no options to show or hide objects.


It's probably on the roadmap.

The best you can do is probably to have the expression change so that it returns null, and the chart will then simply show a message saying that there is no data.

Steve

mohan_1105
Partner - Creator III
Partner - Creator III

Steve,

Can we achieve that in Nov'2017 version?

mohan_1105
Partner - Creator III
Partner - Creator III

Dear Andrea,

Any idea of hiding the chart, in the Nov'2017 release?

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

You now have calculation conditions, which is a step forward.  This way you can hide the contents of a chart based on a users access.  Unfortunately the way the chart looks when it is disabled is a bit ugly - but at least the data is hidden.

You will find this option in the properties on the right when you select a chart in edit mode.

mohan_1105
Partner - Creator III
Partner - Creator III

Hi Steve,

Yeah, I'm aware of calculation condition, but the problem is No. of users accessing the application is high. It is painful for writing the condition for all the users.

is there is any better solution for this?

Thanks in advance..!!

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

You wouldn't have to reference each user by name.  Perhaps you could upload a list of users who can see the chart and then check whether it should show with some set analyis:

count({<AllowedUsers={'$(=OsUser())'}>}AllowedUsers) > 0


You will need to check the content of OsUser() and ensure your list of AllowedUsers exactly matches.  You may want to add some Upper statements to both to ensure case doesn't catch you out.

agigliotti
MVP
MVP
Author

As far I know you have to use calculation condition within chart object.

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it