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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Parent-child hierarchy matrix

I have a matrix that shows the parent-child hierarchy in an organization. With that, I have the number of acces (fro softwares and stuff) that every individual has in a team. Is there a way (like a filter) to show only the access that are common to an entire team and verify it for the level above. 

Boivin12_0-1715605630485.png

 

I made an example: in this case, the 2 value in Red are common for the 3 people of the Org 3 so they would be directly count with the Org 2. 

Boivin12_1-1715605761582.png

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

Depending on the information you have provided, you can create a new measure:

Count = 
VAR _Access = SELECTEDVALUE( 'Table'[Access] )
VAR _Min =
    CALCULATE (
        MIN ( 'Table'[Parent Org] ),
        FILTER ( ALL ( 'Table' ), 'Table'[Access] = _Access )
    )
RETURN
    CALCULATE (
        COUNTROWS ( 'Table' ),
        FILTER ( 'Table', 'Table'[Parent Org] = _Min )
    )

Final output:

vyifanwmsft_0-1715673571586.png

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

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

Anonymous
Not applicable

My problem is that in my real case, I have the access and the Org ID in a table and a second table that display the hierarchy of the Orgs. 

This imply that I have to mix between two table and, in view of the lack of results, I think that Power BI doesn't understand it well.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors