Forum Discussion
ssgtom
7 years agoFrequent Visitor
Compare own Username to anonymous data
Hi, we made a survey in our company in order to asses some employees. Each assessed employee should be able to see their result in a Power BI report. BUT each employee should only see the own...
ibarrau
Super User
7 years agoHi. RLS is not apply for a measure. It is for datasources. You can add a rule like UserPrincipalName = USERNAME() for the users table. The option is in Modeling Tab.
I think this is what you are looking for.
Regards
- ssgtom7 years agoFrequent Visitor
Hi,
thanks for the reply, but this is acutally not what I am looking for. RLS (applied on datasource of course) filters all rows that do not match the username. But I do not want to filter them, I just want to replace the name by anonymous for all datasets != Username.