Forum Discussion
sheidari
6 years agoFrequent Visitor
Implementing RLS and Compare to Team and League Averages
I'm trying to implement RLS on a dashboard such that when the user logs in, they only see their data. The challenge I'm running into is that individual needs to see their data relative to the team a...
Greg_Deckler
6 years agoCommunity Champion
You want to create a disconnected table of your teams and leagues and have a column in there that calculates the averages for your teams and leagues.
As this is a disconnected table, RLS will not apply to it unless you create some new RLS rules.
- sheidari6 years agoFrequent Visitor
Let's say I have a disconnected fact table 2. if i use fact table 2 to calculate the team avg, then how will this table know to calculate the team avg for say team 5 (the team which the employee belongs to when RLS is applied on the first fact table)? W/o joining the two fact tables together, wouldn't you need to add a separate filter/slicer to manually select the team in order to calculate the right average?