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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Section Access for different sheets in a document

I have my section acces loaded into the script, however I'd like to be able to write a simple conditional statement in each sheet property granting user acces. For example,

if

(Uid = '02154', Show(Sheet))

Is anyone aware of such a statement? Thanks

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

SUM(Uid)>='Ortho' would be enough under Conditional section

View solution in original post

6 Replies
Not applicable
Author

You need to type in the following as a sheet-show-condition:

Uid = '02154'

Not applicable
Author

Thanks for the reply.

I have Uid declared in my script already (below).

I was thinking of going for something like this but obviously i'm lacking the correct syntax.

(if

(Uid) <> 'Ortho', RemoveSheet),





-------------------------------------------------------------------------------------------------------------

Load

[ACCESS]

[USERID]

As Uid

[PASSWORD]

OMIT

FROM

[\\PE...





Not applicable
Author

Select Sheet Properties -> General -> Under Show Sheet select Conditional and type the condition

Not applicable
Author

Thanks for that.

Any ideas what the condition would be in the syntax? Currently what I have is incorrect:

if (SUM(Uid)>='Ortho', Sheet.Visible)



Not applicable
Author

SUM(Uid)>='Ortho' would be enough under Conditional section

Not applicable
Author

Works fine now, thanks for that!