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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Power BI Modify Data Set with security applied before hand

I have a use case where the customer is allowed to modify the power BI data set so they can join a custom data source to their existing data and use that in reporting

 

The issue at the moment is that customer should only be allowed to see their own data whilst modifying the data set unfortunately row level security is applied after this step, is it possible to apply this security beforehand? how would i do this, would building an ssas tabular model with rls before hand apply that security at the level where you modify your power bi data set.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

 

It is impossible to dynamic add datasource to existing dataset.(power bi not support dynamic data table structure)

 

>>The issue at the moment is that customer should only be allowed to see their own data whilst modifying the data set unfortunately row level security is applied after this step, is it possible to apply this security beforehand?

There is no difference between enable it before and after create report.  RLS is setup on datasource, it not effect created visual and reports except table records.(RLS filter is same as query table filter, it enable filter on source table)

RLS with UserName()

 

Notice: please don't forget assign role on service side to enable RLS effect.

 

BTW, you can only setup RLS on desktop side, you can't do customize on power service side to create or modify RLS settings except assign role.


Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous,

 

It is impossible to dynamic add datasource to existing dataset.(power bi not support dynamic data table structure)

 

>>The issue at the moment is that customer should only be allowed to see their own data whilst modifying the data set unfortunately row level security is applied after this step, is it possible to apply this security beforehand?

There is no difference between enable it before and after create report.  RLS is setup on datasource, it not effect created visual and reports except table records.(RLS filter is same as query table filter, it enable filter on source table)

RLS with UserName()

 

Notice: please don't forget assign role on service side to enable RLS effect.

 

BTW, you can only setup RLS on desktop side, you can't do customize on power service side to create or modify RLS settings except assign role.


Regards,

Xiaoxin Sheng

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.