Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

Hi Master Dimensions

Hello Qlik_sters
I have a QVF file with section access as well as some users have a list of columns under the OMIT field
now if I have a chart with a field1 for example and this field is under the OMIT for some users then these users will get the "incomplete visulization" error
is there a way to hide this dimension from the chart so that to avoid the above error message?
kindly advise

I can walk on water when it freezes
Labels (1)
3 Replies
udit_k
Partner - Creator II
Partner - Creator II

use below expression in show column if condition to hide & show respective OMIT Field:-

expression value i.e. OSUER will be different  for different OMIT Field as per defined in Section access script.

 

=if(wildmatch(OSUser(),'ABC','PQR','XYZ'),1,0)

udit_k_1-1688387531920.png

 

 

 

 

ali_hijazi
Partner - Master II
Partner - Master II
Author

But the list of users is long

There is a group of 25 users who have  omit values

So definitely I won't check for names to hide it show dimension

I can walk on water when it freezes
udit_k
Partner - Creator II
Partner - Creator II

create a replica of the section access table. 

set osuser() into a variable and use that value to get the related group

set vUser =OSUser() ; 

 

use below expression in show column if condition to hide & show respective OMIT Field using Group instead of individual user:-

If(wildmatch(only({<USER={"$(vUser)"}>} GROUP),'ABC,'XYZ'),1,0);