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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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