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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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