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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
kp_pbi
Frequent Visitor

RLS Working in Desktop, but in when embedded

Hi

 

I'm trying to use RLS for an embedded report.

 

We pass a "username" via the API, and when the report opens we get "Visuals cannot display" error on all visuals.

 

In Desktop everything works no problem.

 

The problem report only has one table, and the report itself is only a matrix and 2 tables.

 

To test I used a different data set, with far less data, and that works fine with exactly the same setup.

 

Any ideas.... ? Can it be that RLS has a data size limitation ?

 

Any ideas welcome.

 

2 REPLIES 2
v-sihou-msft
Employee
Employee

@kp_pbi

 

What do you mean "pass a username via API"? 

 

Row Level Security supposes to take accessing Power BI account mapping into local domain user and apply row level filter defined in Role. There's no data size limitation for RLS. 

 

Regards,

We use Power BI embedded, and when we open the Dashboard Report from our app, we pass a variable with the token, called "username". In Power BI, we then set a DAX Filter for [field_name] = username()

 

We have that setup for a few reports, some work, some don't - and there is no difference between them, so I'm trying to find the reason why some work and some don't. Any ideas ... ?

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.