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: 
master_student
Creator III
Creator III

restriction

Hello Guys,

I would like to add a condition in y table so that a user x see only category training, i did that  but it didn't work

If(OSUser()='INTRA\x.user' , If(OpEx_Category ='TRAINING',OpEx_Category), OpEx_Category)

any idea

Thanks

6 Replies
Anil_Babu_Samineni

You have to do this in Section Access

data level security using section access

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable

Can you add a Screenshot ?

master_student
Creator III
Creator III
Author

is there any solution without using section access

kamal_sanguri
Specialist
Specialist

The calculated dimension seems OK and I don't see any reason why it is not working.

Use a text box to check what this function [OSUser()] gives you.. copy it as it and then use it.. may be there is some difference. You also need to ensure that the case is same (Qlikview is case sensitive).

Anil_Babu_Samineni

Can you try this once

If(Match(OSUSER(),'INTRA\x.user') = 'INTRA\x.user' , If(OpEx_Category ='TRAINING',OpEx_Category), OpEx_Category)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Kushal_Chawda

this?

if(OSUser()='INTRA\x.user'  and OpEx_Category ='TRAINING',OpEx_Category)