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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Create a Flag to reduce Field 'OSUser' to only show a specific set of users

I have a model that shows which clients are viewing QVW's online.

The clients are loaded into the script using a Load Inline Statement.

I want to create a Flag in the script  that reduces those users to a specific client, Shebo.

Here is a sample script:

Groupings:

LOAD * INLINE [

    QVS OSUser, UserType

    CUSTOM\SheboA, Customer

    CUSTOM\SheboB, Customer

    CUSTOM\SheboC, Customer

    CUSTOM\SheboD, Customer

    CUSTOM\SheboE, Customer

    CUSTOM\ProlineA, Customer

    CUSTOM\ProlineB, Customer

    CUSTOM\ProlineC, Customer

    CUSTOM\YealinkA, Customer

    CUSTOM\YealinkB, Customer

    CUSTOM\YealinkC, Customer

];

5 Replies
Not applicable
Author

Hi,

have u tried using section access?

Section Access;

Access:

LOAD * INLINE [

    ACCESS, USERID, ACCESS_LEVEL

    ADMIN, ADMIN, -1

    USER, USER1, -1

    USER, USER2, -1

    USER, USER3, 0

    USER, USER4, 0

    USER, USER5, -1

];

Section Application;

LOAD ACCESS_LEVEL

Resident Access;

Hope helps,

David Sugito

Anonymous
Not applicable
Author

Thanks David

There are many users, so it would be easier to create a flag I think. I don't need to make it accessible to all users, just the one user. I want to know how to create a flag as well.

Not applicable
Author

Hi,

FYI, the ACCESS_LEVEL on my script (above) is a flag..

Am I missing something?

Regards,

David Sugito

Anonymous
Not applicable
Author

Hi David,

I see where you are coming from with the Section Access, but I don't want to approach the flag from that way I don't think.

Maybe if I changed Specific User to Specific Product it will make more sense what I'm looking for?

Regards,

Chris

Jason_Michaelides
Partner - Master II
Partner - Master II

Why don't you use the same solution you were given in your other, smiliar, post?

http://community.qlik.com/thread/72094?tstart=0

Jason