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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
orforf
Frequent Visitor

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
v-shex-msft
Community Support
Community Support

Hi @orforf,

 

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @orforf,

 

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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