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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
PowerIBM
Frequent Visitor

Multiple RLS filtering Single Fact Table

I'm trying to filter single fact table using two RLS tables. When I apply any one of them, the data filter out correctly but when I apply them both, complete data disappears.

 

What's the method when dealing with single fact table. And I don't want to duplicate fact table as it'll increase file size.

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi, @PowerIBM 

According to your description , you have two dimension table and a fact table and you want to create two rls to filter the fact table.

Here is my test data, it is logical that I have tested in my side:

vyueyunzhmsft_0-1688521764074.png

If you want two dimension tables to meet the conditions at the same time to filter the fact table, then you need to judge the RLS in the same role.

vyueyunzhmsft_1-1688522123723.png

If you want the union of two dimension tables to meet the conditions, you need to create two Roles, and then assign roles to the two Roles at the same time, then it is a union.

vyueyunzhmsft_2-1688522272255.pngvyueyunzhmsft_3-1688522311140.png

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

View solution in original post

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi, @PowerIBM 

According to your description , you have two dimension table and a fact table and you want to create two rls to filter the fact table.

Here is my test data, it is logical that I have tested in my side:

vyueyunzhmsft_0-1688521764074.png

If you want two dimension tables to meet the conditions at the same time to filter the fact table, then you need to judge the RLS in the same role.

vyueyunzhmsft_1-1688522123723.png

If you want the union of two dimension tables to meet the conditions, you need to create two Roles, and then assign roles to the two Roles at the same time, then it is a union.

vyueyunzhmsft_2-1688522272255.pngvyueyunzhmsft_3-1688522311140.png

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Users online (11,635)