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
Anonymous
Not applicable

Row level Security

Hi, so i'm trying to implement RLS however, I've been asked to create something where it presents the data differently. 

so for instance I have a sales report however, I am showing certain products to certain people, however, when that RLS is applied I also want the data to be manipulated. Is that possible?

 

If i have £100 for the general report for all products but £50 for product 1 automatically, can it be changed to show more or less (£45/£55)?

6 REPLIES 6
Anonymous
Not applicable

@Greg_Deckler Would you be able to help with this?

Anonymous
Not applicable

Or is there a way for me to change this formula 

Var Wapf =
DIVIDE ( [IEA*PROFIT MARGIN], SUM ( 'Detail'[IEA] ) )
Return
if(ISBLANK (WAPF), BLANK (), WAPF + 0.5)
 
so that it is only for the general report when no filters are applied or RLS but when RLS is applied there is no Return
Anonymous
Not applicable

for example

(Dax ( [Product] = "Product 1"

"cost" - 0.5))

You should maintain the Percentage List (Cost) in the Product Dimension that will be used to calculate the values/measure of your product.

 

 







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

Proud to be a Super User!




Hi @Anonymous can you please elaborate more on which basis you want the data to change dynamically on applying RLS?

 

Anonymous
Not applicable

Yes so I want the data to change depending on what user can view it.

So if i have a manager they can see everything. But if I have a sales person I'd like them to see the cost - a certain amount. 

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