Forum Discussion
Row Level Security in Power BI Report Server
As far as I know still, it was not implimented, but we can use another way to create a measure as given below
filterRLS =
CALCULATE(
COUNTROWS(Data),
Data[UserName] = USERNAME())
above DAX, Data is the table name and Data[UserName] is the filed. User name format is "<domain\username>". after creating the measure you can filter using report level as FilterRLS =1.
it will filter according the current user.. enjoy..
- alecthomas8 years agoRegular Visitor
I setup the measure like you mentioned, but am having troubles applying it as a report level filter.
I am able to set report level filters with table columns, but measures seem to not be allowed. I drag the measure over to the report level filter section but it will not take the measure. Would you please explain a little more on how to do this?
Thank you in advance :) - This has been a real PITA, and I wish Microsoft would just add RLS to Report Server (On-Prem).