Forum Discussion
RLS security : never seen that question before
Hi all,
I'd like to put RLS but by domain (Purchase, Sales, ...) which represents many tables.
Mister A is a purchase manager ([email protected])
Miss B is a sales manager ([email protected])
My need is when A is connected to the WebService, he only sees purchases tables (fact table and associated dimensions)
When B is connected, she doesn't see purchases tables but only sales tables and associated dimensions
(I have to indicate that my boss refused the option to make several Datasets (bu domain) or to manage many workspaces)
=> 1 dataset in 1 workspace
I know unsername and userprincipalname DAX functions. But for my case, that's not enough, I think.
To complete, A doesn't belong to line purchases tables or in supply dimension table. He's not a user who had created the line in the table. He has to see all lines in the Purchase Fact Table.
How can I put correctly a role to do that ?
Someone has an idea ?
Thanks in advance
Fred_T you need to check at object level security Read more about it here Object-Level Security (OLS) is now generally available in Power BI Premium and Pro! | Microsoft Power BI Blog | Microsoft Power BI
and on my blog post here Object Level Security in 3 Easy Steps | PeryTUS IT Solutions
✨ Follow us on LinkedIn and to our YouTube channel
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.
2 Replies
- parry2kSuper User
Fred_T you need to check at object level security Read more about it here Object-Level Security (OLS) is now generally available in Power BI Premium and Pro! | Microsoft Power BI Blog | Microsoft Power BI
and on my blog post here Object Level Security in 3 Easy Steps | PeryTUS IT Solutions
✨ Follow us on LinkedIn and to our YouTube channel
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.
- Fred_TRegular Visitor
Amazing !
I didn't know this new external tool. It's exactly my need.
Thanks to you and to this forum