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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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. 

v-tangjie-msft
Community Support
Community Support

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.