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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Guillaume_S
Frequent Visitor

I need to filter à column by another Column in my RLS

Hi,

 

I have two tables and I need one to filter the other but i tried several methods and it doesn't work for apply my dynamic RLS.

I have already filter the list of CODE_CP (in tec_tab_regroupement) by the user email.

I need the list in the table Tec_Tab_Regroupement[CODE_CP] to filter a more complete list in the table Tec_bridge_Ref[CODE_CP].

 

Guillaume_S_0-1666085886906.png

 

Thanks for your help

 

Guillaume

 

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

Hi , @Guillaume_S 

According to your description, you want ro set the RLS in another column with the dynamic RLS. RIght?

After you have set up dynamic RLS, you can create another role and set the RLS of the table Tec_bridge_Ref [CODE_CP], like this:

vyueyunzhmsft_0-1666147375425.png

vyueyunzhmsft_1-1666147389951.png

Then we can test in Power BI Desktop:

vyueyunzhmsft_2-1666147424877.png

The result is as follows:

vyueyunzhmsft_3-1666147444971.png

 

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 , @Guillaume_S 

According to your description, you want ro set the RLS in another column with the dynamic RLS. RIght?

After you have set up dynamic RLS, you can create another role and set the RLS of the table Tec_bridge_Ref [CODE_CP], like this:

vyueyunzhmsft_0-1666147375425.png

vyueyunzhmsft_1-1666147389951.png

Then we can test in Power BI Desktop:

vyueyunzhmsft_2-1666147424877.png

The result is as follows:

vyueyunzhmsft_3-1666147444971.png

 

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

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

Jan NL Carousel

Fabric Community Update - January 2025

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