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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
karthik77700
Helper I
Helper I

Row Level Security

I have four pages in my report .I have to apply RLS for first three pages with source country =HK. And for fourth page first condition will be src_country=HK and if it as associated source country then it should display as well in matrix visual.

For example :

Country IDMatch

HK           2024_CP_657

SG           2024_CP_657

HK           2024_CP_900

SG           2024_CP_801

In fourth page of matrix visual it should display first three records because source country =HK and Id Match is equal for both HK and SG.(2024_CP_657). I have applied logic for this and its working fine. In all four pages two tables have been used CP Table and retention table with link table as common in both of them and have filtered with source country=HK in CP table .It has been working for three pages but in fourth page i cant use this filter because it will filter only HK but i want other associated country as well. So have duplicated CP table and retention table .

Data Model:

CP table(One ) --->;(to Many) Link table(One) to ---(Many)Retention table .Relation ship is both.

Duplicate CP Table (One)--(Many)Link Table  (One);-----(Many)Retention table.

 

Relation ship is single and duplicated CP table is filtering Link table but my requirement is Link table should filter Duplicated CP table and direction should be single. And have removed duplicates but link table will have many values only .And for above logic i have applied in duplicated CP table for RLS to bring associated id. But due to relationship between link table and duplicated CP table fourth page is not working .How to resolve this so that my first three pages should filter HK and fourth page should filter HK as well ass associated ID match country as well. Any ideas appreciated 

1 REPLY 1
Anonymous
Not applicable

Hi @karthik77700 ,

 

Perhaps you could create another filter on the fourth page and filter again via removefilter().

REMOVEFILTERS function (DAX) - DAX | Microsoft Learn

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

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

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.