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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.