Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Can you help with this RLS (row Level security) logic please?
Adk if you need any more info or examples.
The attached PBIX has dynamic row level security rules
Click here to download example PBIX
The rule are in the Permissions tables for
the DimProduct, DimCustomer and Calendar
For example,
If you view as user 2019@pbi.com then you just see 2019 sales
If you view as user cars@pbi.com then you just see car sales.
If you view as user carsbikes@pbi.com then you just see car and bike sales.
If you view as user malecarsbikes2019@pbi.com then you just see male, car or bikes for 2019 sales.
I now want to add the functionality to block rows.
For example
If you view as user carsbikesnot2019@pbi.com then I want to view
cars and bikes sales but exclude car 2019 sales.
Can you suggest RLS logic to do that please? Thank you
Permissions table. Note the allow true/false flag
Roles table security
Whilst viewing as user carsbikes@pbi.com you just see car and bike sales.
When I view as user carsbikesnot2019@pbi.com then I want to view
cars and bikes sales
exclude car 2019 sales
but still include the bike 2019 sales.
I think, add new column in Calendar to define which year is "Ex 2019", then add one more filter in RLS like below
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 62 | |
| 51 | |
| 45 |