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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello community!
I have a model, which I need to filter by user and year; However, when I configure my RSL it does not filter my data.
As you will see in the image, I have created a filter where I have 2 conditions, if the user who logs in is different than "mailadmin@mydomain.com" the data should be filtered and only the information from 2023 onwards should be shown, but, When I validate this it does not filter the years and continues to show all the years.
Could you tell me what I'm doing wrong?
Thank you!
Rgds,
DC
Solved! Go to Solution.
Hi @DanCasSan20 ,
If a user has permissions for multiple roles at the same time, his permissions are the union of multiple roles.
So, when testing, you should only choose one roles.
And, you can try below RLS expression on DIM_TIMEPO:
IF(USERNAME()<>"mailadmin@mydomain.com",TRUE(),'DIM_TIMEPO'[Year]>=2023)
Also, you can enable security filtering options when establishing relationships.
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
Hi @DanCasSan20 ,
If a user has permissions for multiple roles at the same time, his permissions are the union of multiple roles.
So, when testing, you should only choose one roles.
And, you can try below RLS expression on DIM_TIMEPO:
IF(USERNAME()<>"mailadmin@mydomain.com",TRUE(),'DIM_TIMEPO'[Year]>=2023)
Also, you can enable security filtering options when establishing relationships.
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |