The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am having problems with RLS. When I log in as one of the StudyCenterUsers, it doesn't filter down the data to only the Study Centers defined for the User.
I appreciate any/all help with this!!
Thank,
Hollie
I have 3 tables
Table Columns
1. Applications applictionID, studycenterID
2. StudyCenters studycenterID
3. StudyCenterUsers email, studycenterID
Defined Relationships
Applications/StudyCenters on studycenterID
StudyCenter/StudyCenterUsers on studycenterID
My dax filter is on StudyCenterUsers where email=UserName()
='Study Center Users'[email]=USERNAME()
Hi @hjambretz ,
Can you share your sample data rows here along with the relationships you have among your tables?
Thanks,
Pragati
Here's my data
Sorry! the Relationships are
Applications/Study Centers on studycenterID
StudyCenterUsers/StudyCenter on studycenterID
@hjambretz
Please refer the following links on how the RLS is implemented
https://www.youtube.com/watch?v=MxU_FYSSnYU
https://www.youtube.com/watch?v=uyxesN_nGnQ
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
14 | |
14 | |
9 | |
7 |