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
I need to pass multiple IDs for RLS purposes.
Currently in other reports I'm using USERNAME() and USERPRINCIPALNAME() functions for that.
Example:
Manage Roles --> set up 2 Roles:
User: UserID = value(USERNAME())
Team: TeamID = value(USERPRINCIPALNAME())
But for this new report I need to pass 4 parameters. Are there other functions?
Why is USERPRINCIPALNAME() by itself not sufficient? Do your users have multiple personalities?
So the other IDs are not necessarily needed for RLS. We need to pass additional ID values to filter the report content.
A user can have access to multiple customers, multiple teams. The dashboard should integrate with the webpage and only show the 1 customer and 1 team they are seeing on the website.
1 section on the dashboard should also show summary data of all the teams the user has access to as reference.
Any ideas?
Use Dynamic RLS to define what the user is allowed to see, and then use Report URL filters to prefilter the team they should focus on.
Good idea, I'll def give that a try. Thank you!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |