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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
cbarker
Frequent Visitor

Custom Column - Applying Row Level Security/Visibility Based on Criteria

I have a custom column where if a certain product line is present on that row I want to code it to a different business unit and allocate values to it accordingly, otherwise I want it to reference a related function which I have that is pulling another value from another table in my query. I'm trying to publish this report to a group that I'd like to restrict visibility / access based on this 'True Region' formula below, but am uncertain how to accomplish this.

 

If I use row level security and apply it to the 'Region Name' from my Customer_Master table I ultimately display the wrong values that I'm trying to reallocate. Anyone have a workaround here to correctly filter this data?

 

My formulas are as follows;

True Region = IF(Revenue_Raw_Data[Division]="Product Line","Adjusted Region",Revenue_Raw_Data[RelatedRegion])
RelatedRegion = RELATED(Customer_Master[Region_Name])
1 REPLY 1
VijayP
Community Champion
Community Champion

@cbarker  Try createing RLS with True Region instead of other column. it should work




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors