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
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
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.

Top Solution Authors