Forum Discussion

fsim's avatar
fsim
Responsive Resident
4 years ago
Solved

filtering by the user without model RLS?

Hi there ! is there any workaround to be able to have one report that can show all the data or only the data of the end user ? in other words, I would like to have in a single report, two different...
  • mattww's avatar
    mattww
    4 years ago

    Yeah I agree, you could also use a COUNTROWS() on your Sales table and include a filter on every visual to only show results where the row count > 0, this would effectively hide any inapplicable dimensions.

     

    The other option if you're looking for RLS to show all results to certain people (e.g. senior leaders) is to create a role in RLS (e.g Sales Director) where the condition is always true (i.e. 1=1), anyone assigned to this role will see everything

     

     

    If this post helps then please consider Accept it as the solution to help the other members find it more quickly.