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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
MaxSchrijen23
Helper I
Helper I

Add value to top hierarchy level in matrix

Hi all,

I am currently working on a matrix containing a hierarchy. The data I use is a hierarchy of projects and subprojects belonging to this projects. At the same time there are also leades attached to each project and subproject. However, I am only able to show the leaders of the subproject with this hierarchy structure. Is there also a way to show the leaders of the projects in a heirarchy matrix?

MaxSchrijen23_0-1640866098827.png

Thanks in advance!

 

1 ACCEPTED SOLUTION

@MaxSchrijen23 , Need some data, But isinscope should be able to help you

refer to this

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@MaxSchrijen23 ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak, yes below are two screenshots of the excel input that I use, which is a snapshot with some fake names and then the power BI output I have. Eventually I have several other attributes to add for each project or subproject such as the enddate, but I geuss that if the issue with the leader is fixed that I am also able to fix the others. Let me know if you need more.

MaxSchrijen23_0-1640866828107.png

MaxSchrijen23_1-1640866856245.png

 

@MaxSchrijen23 , Need some data, But isinscope should be able to help you

refer to this

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Dear @amitchandak , I tried a lot with this however I am unfortunately still not able to solve my issue. It seems like the functionality refered to in the article only works if you have numeric values with a sum. However, I would need a string value. Do you know if there is a soluton for this? I attached a XLS file and PBI file with my input and my test measures.
Thanks in advance!

https://filedropper.com/d/s/M2ltIzfZsVqEjRYctmQ9ZEucv4YVPv 

@amitchandak, this indeed looks like something I need, thanks a lot!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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
Top Kudoed Authors