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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Shreeram04
Resolver III
Resolver III

Row Level Security

Hi All,

 

I need to achieve dynamic row-level security for the area, country, and territory columns. I can do it for both area and country but I am unable to find the solution for territory.

 

1. When I enter Apac level means it shows value APC area values only.

2. when my country is china means its shows china's country values only.

3. And if I enter as south territory for china means its shows value for south territory for china only.

 

Sample data:

 

AreaCountryTerritoryProfit
APACTaiwanNorth Territory328376.4
APACTurkeySouth Territory933903.8
ChinaChinaEast Territory4509794
SAMArgentinaWest Territory59960.32
SAM MexicoNorth Territory1187679
EMMASaudi ArabiaSouth Territory202941.7
APACTaiwanWest Territory287316.9
APACTurkeyNorth Territory477944
ChinaChinaSouth Territory162892
SAMArgentinaEast Territory2280701
SAM MexicoWest Territory363198
EMMASaudi ArabiaNorth Territory26185.28
APACThailandSouth Territory2093016
APACTurkeyWest Territory15549.03
ChinaChinaNorth Territory2334947

 

when I did for territory means its shows dates like south territory for all areas and countries but my requirement is its show value for particular country-based territory. Please help to identify the solution, thanks in advance.

1 ACCEPTED SOLUTION
negi007
Community Champion
Community Champion

@Shreeram04 i would suggest you to create a calc column in your table based on country and territory and then apply RLS on that column.

Your new column could be like 

country_territoy = tab[Country] & "|" & Tab[territory]

 

 

in that way it filter correctly. In your current situation, you have noth, west, south and east territory in many countires. 




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

View solution in original post

1 REPLY 1
negi007
Community Champion
Community Champion

@Shreeram04 i would suggest you to create a calc column in your table based on country and territory and then apply RLS on that column.

Your new column could be like 

country_territoy = tab[Country] & "|" & Tab[territory]

 

 

in that way it filter correctly. In your current situation, you have noth, west, south and east territory in many countires. 




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.