Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Aletrnative of MAXSTRING

Hi,

I am using below section access script, where A and B are the group names created.

sa_script.png

We have a sheet, with show condition as -

=if(MAXSTRING({<GName=$(NTNAME)>}HGFlag)='Y',1,0)

For both the user group, the sheet is still visible, as the MAXSTRING is resulting in Y each time.

Can anyone please suggest, what is wrong with this.

Regards,

MK

13 Replies
Anonymous
Not applicable
Author

no luck...

after going to few more post, i have done following changes, but still no luck.

defect111.png

I have used sum(HGF)>=1, but for any group the value is coming as 1.

Please assist.

jonathandienst
Partner - Champion III
Partner - Champion III

Don't you need OsUser() rather than QvUser() when using NTNAME in the SA script?

MAXSTRING({<GName={"$(=OsUser())"}>}HGFlag)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
jagan
Luminary Alumni
Luminary Alumni

Hi,

Instead of GNAME try using REDUCTION in both the tables and also do the below

Note: You need to select Document Properties -> Opening tab -> and select Initial Data Reduction based on Section Access option

Check this links for reference

Authentication and Authorization in Qlikview

Sheet level access


Regards,

Jagan.

tresesco
MVP
MVP

Thanks Jonathan for the correction.