Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
sxz
Frequent Visitor

How to pass multiple parameter values from web application to PowerBI embed for RLS?

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?

4 REPLIES 4
lbendlin
Super User
Super User

Why is USERPRINCIPALNAME() by itself not sufficient?  Do your users have multiple personalities?

sxz
Frequent Visitor

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.

sxz
Frequent Visitor

Good idea, I'll def give that a try. Thank you!

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.