Forum Discussion
Static RLS using IF logic with two tables
- 3 years ago
Thank you for the quick reply! I tried a few things last night, but I figured out where I was going wrong. I was filtering the role this way:
I was filtering on two tables, and it was giving me the filter ONLY for the revenue source.
I created two roles - one for territory and one for revenue source. Then I gave both roles to the employee and they can see either/or.
The formula you provided I believe is for dynamic RLS, and I want to do static RLS.
Thank you for the quick reply! I tried a few things last night, but I figured out where I was going wrong. I was filtering the role this way:
I was filtering on two tables, and it was giving me the filter ONLY for the revenue source.
I created two roles - one for territory and one for revenue source. Then I gave both roles to the employee and they can see either/or.
The formula you provided I believe is for dynamic RLS, and I want to do static RLS.