Forum Discussion
RLS Help
- 2 years ago
No problem. No, you need the RLS to still be applied to the detail table so they only see their own items, the bridge table will allow both tables (one with RLS and one without) to be filtered. In the bar chart visual you will utilize the field from the bridge table instead of your unrestricted table.
- 2 years ago
Hi - thank you very much - that has worked perfectly
Can you share a screenshot of your joins in the model? I am assuming that you want it so that when a user clicks on Overdue (or any other item in the bar), the table below only shows Overdue items for the specified user, is that correct? My guess is, right now there is no relationship that will make this work. You will likely need a bridge table with each Audit Action that joins to each of your fact tables, that way it will filter both.
Thank you for replying - the data model is very simple - 1 lookup table sorting the due date status and the 2 identical fact tables - would I apply the RLS to to the bridge table?
- audreygerred2 years agoSuper User
No problem. No, you need the RLS to still be applied to the detail table so they only see their own items, the bridge table will allow both tables (one with RLS and one without) to be filtered. In the bar chart visual you will utilize the field from the bridge table instead of your unrestricted table.
- KG12 years agoResolver I
Hi - thank you very much - that has worked perfectly
- audreygerred2 years agoSuper User
You're very welcome!