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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
y5famfnatudu
Resolver I
Resolver I

Securing report values using a RACI Matrix

Hello,

 

Is it possible to hide/show Revenue based on a RACI Matrix that is added to the data model?

 

The scenario is as follows:

y5famfnatudu_0-1672733471196.png

The above RACI Matrix indicates [who] is supposed to access [what] per each [customer]

CustomerCode[0] = ALL Customers

CustomerCode[Any other value] = Indicates a specific customer

Revenue[1] = Employee is allowed access to revenue values

Revenue[0] = Employee is not allowed access

 

Your help is so much appreciated.

 

Best regards,

Simon

1 ACCEPTED SOLUTION
sturlaws
Resident Rockstar
Resident Rockstar

Hi, @y5famfnatudu,

based on the information you provided, I have createt an example on how this can be solved, attached at the bottom of this post.

In general, you should look into dynamic row level security, using the DAX-function Userprinicipalname to detect the viewer of the report.

sturlaws_0-1672784035293.png

 

sturlaws_1-1672784216732.png

 

Cheers,
Sturla

If this post helps, then please consider Accepting it as the solution. Kudos are nice too.

 

 

 

View solution in original post

3 REPLIES 3
sturlaws
Resident Rockstar
Resident Rockstar

Hi, @y5famfnatudu,

based on the information you provided, I have createt an example on how this can be solved, attached at the bottom of this post.

In general, you should look into dynamic row level security, using the DAX-function Userprinicipalname to detect the viewer of the report.

sturlaws_0-1672784035293.png

 

sturlaws_1-1672784216732.png

 

Cheers,
Sturla

If this post helps, then please consider Accepting it as the solution. Kudos are nice too.

 

 

 

Dear @sturlaws,

 

I have a question please.

In the screenshot attached, is there anyway to see the CustomerID, and the remaining COLUMNS, but hide the REVENUE

 

So, instead of seeing the following:

y5famfnatudu_0-1673447181971.png

 

See:

y5famfnatudu_1-1673447525877.png

where Product and Quantity are existing in the same Table where Revenue is calculated.

 

Great work Sturla, I appreciate it so much

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.