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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
kanth123
Helper I
Helper I

Need Help on RLS on Fact table.

Hi..

How to implement RLS based on mutliple fields.

Need to filter based on Rep_flag in RSL table, Data_Flag field in Fact table and Key.

Rep_flag =type1 / data_flag =1 

Rep_flag = type2/ data_flag =0

Rep_flag = type3/ data_flag = 0 and 1 

kanth123_2-1642606583014.png

kanth123_3-1642606600507.png

kanth123_0-1642606564675.png

kanth123_4-1642606616278.png

while below approach works ?

create three user roles : (Type1,Type2,Type3)

Add filter on fact table 

data_flag =1  for role type 1 

data_flag =0 for role  type 2 

 

Thanks

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @kanth123 ,

I created a sample pbix file(see attachment), please check whether that is what you want.

yingyinr_0-1643002446515.png

In addition, you can refer the following documentations to implement it.

Row-level security (RLS) guidance in Power BI Desktop

Row Level Security Configuration in Power BI Desktop

RLS with TWO Fact tables in Power BI

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @kanth123 ,

I created a sample pbix file(see attachment), please check whether that is what you want.

yingyinr_0-1643002446515.png

In addition, you can refer the following documentations to implement it.

Row-level security (RLS) guidance in Power BI Desktop

Row Level Security Configuration in Power BI Desktop

RLS with TWO Fact tables in Power BI

Best Regards

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.