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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
PaulMGNT
Frequent Visitor

RLS Security with Direct Query to PBI Cube

Hi all,

 

I am currently working and using a PBI with RLS security (username()). This PBI model and security work well.

 

But I am deploying a new report built with a direct connection to my existing PBI model. It appears that RLS security is not working on this model and with many test I still have blank pages everywhere.

 

Do you have any insight/solution regarding why RLS security does not work on PBI report built with direct query to a power BI model ?

 

We are working with premium workspace and both reports are in the same workspace.

 

Many many thanks for you help.

 

Paul

1 ACCEPTED SOLUTION
v-xinruzhu-msft
Community Support
Community Support

Hi @PaulMGNT 

If you previously defined roles and rules in the Power BI service, you must re-create them in Power BI Desktop, you need to set new RLS for the new report on the desktop, the original RLS is set for your power bI model. You can refer to the following link of RLS limiation:

https://learn.microsoft.com/en-us/power-bi/enterprise/service-admin-rls#considerations-and-limitatio...

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-xinruzhu-msft
Community Support
Community Support

Hi @PaulMGNT 

If you previously defined roles and rules in the Power BI service, you must re-create them in Power BI Desktop, you need to set new RLS for the new report on the desktop, the original RLS is set for your power bI model. You can refer to the following link of RLS limiation:

https://learn.microsoft.com/en-us/power-bi/enterprise/service-admin-rls#considerations-and-limitatio...

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.