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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
swapnilsd08
Frequent Visitor

RLS for SQL Server 2016 with Power BI

Hello,

 

I am using SQL Server 2016 as my datasource for a dashboard. I have written Security functions and created Security policies which I have been using for RLS in SSRS Mobile Report Publisher. I used the same "view" created in one of my databases from which I am doing a "select * from view" as a direct query in Power BI desktop. Row Level Security works completely fine in it.

 

But the moment I publish it and check the dashboard on app.powerbi.com, data comes out to be BLANK. Also, when I right-click on the dataset and select "security", it says "RLS has moved to Power BI Desktop. Any previously defined RLS security is no longer working. You will need to re-create RLS in Power BI Desktop." 

 

Does this mean, I will no longer be able to use the RLS I used to use in SSRS Mobile Report Publisher (i.e. ability to manage my data at database-level)? Will I have to explicitly crearte "Roles" in Power BI Desktop to implement RLS?

 

Please help!

 

Thanks,

Swapnil

1 REPLY 1
v-haibl-msft
Microsoft Employee
Microsoft Employee

@swapnilsd08

 

I think you can vote on this idea for this function. You can define the roles in PBI Desktop in current version.

 

Best Regards,

Herbert

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.