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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.