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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
AlexGurovich
Helper II
Helper II

Apply RLS to a calculated column

In one of my tables I have a calculated column with a DAX expression. I would like RLS to apply to that calculated column, in the sense that the calculation done by that column is dependent on the RLS role. 

 

Can that be done?

 

(Just in case I'm not referring to what can be achieved via OLS (Object Level Secutiry): I dont mean  a calculated column that gets visible or not visible to certain roles. I'm trying to get a column to calculate its calculation based in RLS)

 

 

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@AlexGurovich The short answer is no since calculated columns are not dynamic and are only calculated at the time of data refresh.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

1 REPLY 1
Greg_Deckler
Super User
Super User

@AlexGurovich The short answer is no since calculated columns are not dynamic and are only calculated at the time of data refresh.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.