Hi
I would like some help in writing an expression to hide the rows based on the users who run the report.
I have a Users SQL table and in that table there are around 10 users in a group named 'Client Employees' with Group ID value 100.
I have a requirement that - the report should display all the rows if the user who is running is in the above named group Client Employees. and
the report should hide the rows if the user who is running the report is not in that group Client Employees.
I have just tried the below with one user and it seems to be working (when i ran the report i could not see that record and when user ABC ran the report ABC can view that record), but i am not sure how can i code it for all the employees in that group (and also there many be new users getting added to this group)
=IIF(Fields!GROUP_ID.Value = 100 and RIGHT(User!UserID,3) <> "ABC", True,False)
Any ideas?
Thanks,
grkanth81