Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION

Chart Level Access by user

cancel
Showing results for 
Search instead for 
Did you mean: 
jagan
Luminary Alumni
Luminary Alumni

Chart Level Access by user

Last Update:

Oct 7, 2022 9:26:27 AM

Updated By:

Sonja_Bauernfeind

Created date:

Apr 15, 2014 6:40:29 AM

Attachments

Hi,

 

Please find attached Qlikview document for implementing chart level access by user.  You can open the Qlikview file by using users A, B, C and D.  There is no Password for this file.

 

When you login as user A you can access both charts (CH01 and CH02).

When you login as user B you can access only one chart (CH01).

When you login as user C you can access only one chart (CH02).

When you login as user D you can access both charts (CH01 and CH02).

 

This is implemented by using Chart Properties -> Layout -> Show -> Conditional.

 

The charts and users are configured using ChartAccessMatrix table.  Refer below script for implementation.

 

Section Access;

LOAD * INLINE [

    ACCESS, USERID

    Admin, A

    User, B

    User, C

    USer, D

];

Section Application;

 

ChartAccessMatrix:

LOAD * INLINE [

USERID, CH01, CH02

A,1,1

B,1,0

C,0,1

D,1,1];

 

Regards,

Jagan.

Labels (1)
Comments
Not applicable

Hi,

Due to license problem,i cant open your qvw.could you please post a screenshot of the condition used in the chart?

Thanks

jagan
Luminary Alumni
Luminary Alumni

Hi Sudha,

I did like this

=Sum(CH01) > 0

Regards,

Jagan.

Not applicable

Thank you jagan. Its working great..

Not applicable

HELLO JAGAN, I WRITE MY SECTION ACCESS LIKE THIS.

SECTION Access;

LOAD * Inline [

ACCESS,USERID

ADMIN,MADHU

USER,KALYAN

USER,RAM

]

;

SECTION Application;

LOAD * Inline [

USERID,CH01,CHO2

MADHU,1,1

KALYAN,1,0

RAM,0,1

];

Not applicable

WHAT IS THAT 1,1 AND 1,0 PLS EXPLAIN ME JAGAN AND WHICH PLACE I GIVE CONDITION AND HOW TO WRITE CONDITION.PLS TELL ME OUT JAGAN .

jagan
Luminary Alumni
Luminary Alumni

1 Means user have access to the chart, 0 means it won't show the chart.

Anonymous
Not applicable

Hi Jagan,

Thanks for sharing valuable information. Here I have one doubt, suppose if we have more than 100 charts in dashboard it is difficult to declare like below what you mentioned in your post.

ChartAccessMatrix:

LOAD * INLINE [

USERID, CH01, CH02

A,1,1

B,1,0

C,0,1

D,1,1];

Is there any alternative way to achieve this and also suppose if we want to assign to particular group to particular chart. What would be the solution.

Thanks.

jagan
Luminary Alumni
Luminary Alumni

Map users to groups and assign chart access to groups instead of users.

Not applicable

Hi I went through all types of access level section as well as sheet and chart. I did not understand which one should i use. I want a particular user to see some apps and he should not be able top edit the script or view any of the tables.

dharmarasu
Creator
Creator

Hi Jagan,

This logic works only if the "Initial data reduction based os section access" option is checked.

In my report if I check that option, no one can access the report from access point including me.

However I am able to open in my local machine. What could be the issue?

Thanks!

Dharma

Version history
Last update:
‎2022-10-07 09:26 AM
Updated by: