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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
mesutdongul
New Member

power bi on-prem, using RLS or etc. with regular sql query (non ssas)

Hi,

 

We have tried to implement 'Row Level Security' in Power BI On premise-solution, this has worked on desktop but after we published the report to server it didn’t worked.

i think we have faced similar issue with this http://community.powerbi.com/t5/Report-Server/Row-Level-Security-in-Power-BI-Report-Server/m-p/31154...

and then unfortunately we found that RLS is not supported in the current version : http://community.powerbi.com/t5/Report-Server/Row-Level-Security-with-Direct-Query-not-SSAS/m-p/3122...

But we have live reports that we used RLS on non-prem version. Has anyone know when RLS will be supported on this version? Or is there any other workaround solution?

We have trying to get Users whose Location information is same with the group on the Groups table and Groups.User is the person who opens the report (USERNAME() function doesn't supported somehow)

Data connectivity mode : Import

 

Tables

 

Groups

User - Group

A - Antalya

A - Istanbul

A - Kayseri

B - Antalya

B - Eskisehir

C - Konya

 

Users

UserName - Age - Location - Department

X1 - 21 - Antalya - IT

X2 - 35 - Istanbul - Purchase

X3 - 45 - Konya - IT

X4 - 21 - Antalya - IT

X5 - 35 - Istanbul - Legal

X6 - 45 - Konya - IT

X7 - 21 - Antalya - IT

X8 - 35 - Istanbul - Purchase

X9 - 45 - Konya - IT

X10 - 21 - Antalya - IT

X11 - 35 - Istanbul - Purchase

X12 - 45 - Konya - IT

1 REPLY 1
Anonymous
Not applicable

You have actual following options:

a) Filter in a live query using the username() at sql server and filter the data

b) use a ssas cube with rls

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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