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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
shamoonrahat
New Member

Implementing User-Specific Dynamic Matrix Tables in Power BI

Hi members,

I’m seeking guidance on creating a dynamic matrix table within Power BI Service that tailors visibility and calculations to the specific user viewing the report. The goal is to filter rows dynamically based on the logged-in user’s credentials.

For instance, consider the following data structure:

  • Information 1: Amount (Accessible to User A & User D)
  • Information 2: Amount (Accessible to User B)
  • Information 3: Amount (Accessible to User C)
  • Information 4: Amount (Accessible to User A)
  • Information 5: Amount (Accessible to User B)

The requirement is that when User A logs in, they should only see Information 1 and Information 4. Similarly, User C should only have access to Information 3.

Additionally, Information 1 needs to be viewable by both User A and User D, with each user seeing different calculated amounts based on their unique perspectives.

Could anyone advise if Power BI supports this level of dynamic content generation and user-specific calculations? If so, I would appreciate any insights or resources on implementing this functionality.

 

1 ACCEPTED SOLUTION
shamoonrahat
New Member

Hi Neeko,

 

Thought through the scenario in detail and found out some key inputs. When preparing the matrix and underlying measures; would need to include User Principal Name and some conditions which would include <IS FILTER>, SWITCH Functions...

 

So in this scenario, while RLS works - if any user logs in the dynamic table works in a way that the information filters automatically to show the required information through switch measure. 

View solution in original post

3 REPLIES 3
shamoonrahat
New Member

Hi Neeko,

 

Thought through the scenario in detail and found out some key inputs. When preparing the matrix and underlying measures; would need to include User Principal Name and some conditions which would include <IS FILTER>, SWITCH Functions...

 

So in this scenario, while RLS works - if any user logs in the dynamic table works in a way that the information filters automatically to show the required information through switch measure. 

Anonymous
Not applicable

Hi @shamoonrahat ,

 

I think @lbendlin  suggestion is a good idea and I'd like to add some steps for your reference:

 

(1) This is my test data. 

vtangjiemsft_0-1717484951723.png

(2) New a role.

vtangjiemsft_1-1717484996771.png

(3) View as roles.

vtangjiemsft_2-1717485089185.pngvtangjiemsft_3-1717485140217.png

For more details, please refer: Row-level security (RLS) with Power BI - Microsoft Fabric | Microsoft Learn

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

lbendlin
Super User
Super User

You seem to be describing Row Level Security? Have you tried implementing that?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.