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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
master_student
Creator III
Creator III

acess pb

Hello Guys,

I would like to add a condition on my table, if the user logged is Qlv.xxr then only show OpEx_Category= 'TRAINING'

if(OSUser()='ORxxxE\Qlv.xxr',OpEx_Category ='TRAINING', OpEx_Category) but the result :opex category 0 or -1

Capture.PNG

Thanks for your help

Labels (1)
11 Replies
master_student
Creator III
Creator III
Author

i am sure the user id is correct. i tested it in an object text and put the result in the condition

If(OSUser()='ORxxxE\Qlv.xxr', If(OpEx_Category ='TRAINING',OpEx_Category), OpEx_Category)


i get all categories. could you share your qvw?


Thanks for youe help

tamilarasu
Champion
Champion

Hi Wiem

Please find the attached file. Change the Osuser to your domain id and see whether it's working or not.