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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.