Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Jacob
Contributor III
Contributor III

Section Access : Combining Field Reduction and OMIT

Hi All

I have below Requirement in section access.

Requirement 

*       i have User1  and User2
      User1 

*       can see 2 countries data out of 15 countries i.e IND and US
*       User1 can see the US of COGS, but cannot see the India COGS
User2

*      Can See all the all data

Please refer below table 

Country 

Country   Product            Regioninfo
INDBOOKEABC
UAEPENWXYZ
USBAGNXYZ
UKPHONECXHD
PAKLONG BOOKEXJZ

 

Sales  

 

COGSSALES
10010
20020
30030
40040
50050

.

Output

When User1 login he should see below table

CountryProductRegion infoCOGSSALES
INDBOOKEABC 10
UAEPENWXYZ20020

 

When User2 login he should see below table

Country ProductRegioninfoCOGSSALES
INDBOOKEABC10010
UAEPENWXYZ20020
USBAGNXYZ30030
UKPHONECXHD40040
PAKLONG BOOKEXJZ50050
Labels (4)
3 Replies
rubenmarin

Maybe there is a better way of doing this but I get similar result splitting Sales and COGS in diffrent tables and duplicate rowes in the country table to have a row for Sales and another for COGS.

This way you can set different permissions for sales and/or cogs

 

PFA, set your domanin user in section access and enable 'reduce data on open' to test.

Jacob
Contributor III
Contributor III
Author

Can't open the QVW file can u please comment section access code.

rubenmarin

Attached with section access commented