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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ahockman
New Member

RLS

I have a financial report with specific salary items that need to be hidden from some users. Is there a way to use RLS to hide these without changing the bottom line calculation?

1 ACCEPTED SOLUTION

row level security is exactly that row level security, if you need to hide something using RLS the row will be hidden so you either need to just hide that column with OLS ore you can do something less secure like not displaying the value with an if statement, which is less secure.  You will need to find another way to include that information in the totals if you need it still to be present.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
ahockman
New Member

I want to hide the specific line item, such as Director salary, without changing the column subtotals and grandtotal calculation. 

in order to that you would need to hide a column with the line item description or if you remove that line you would lose the value,   Are you still wanting to show other line items?  You can also use object level security to hide a column.  

 

how are you displaying this? 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




I am displaying the data in a matrix. In the Row section of the matrix I have a description type, in the column section I have a Date field, and for the values I have the sum of a value. Through managing roles and role level security we are hiding specific description types from certain users but even though they cannot see those specific descriptions we want the values to calculate as if they could (same subtotal and grand total whether they have access to see description type or not).

row level security is exactly that row level security, if you need to hide something using RLS the row will be hidden so you either need to just hide that column with OLS ore you can do something less secure like not displaying the value with an if statement, which is less secure.  You will need to find another way to include that information in the totals if you need it still to be present.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Daniel29195
Super User
Super User

you want to hide the calculation or the column salary as is,  for specific users ? 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.