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 August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Build a hierarchical Matrix with calculated fields

Hello,

 

I'm having some trouble building a matrix in Power Bi. I have two related tables (one for data and one for KPIs), and I want to calculate what's the % below target for each Manager and Division.

 

However, I need to show the exact percentage for each Division and Manager in a matrix comparing the % below target against each of their KPIs in one column (hierarchical matrix). Note that manger results don't necessarily represent the results for the division.

 

Data numbers are just examples.

 

 TABLE 1 
DivisionManagerResults
NorthJohn3
NorthPaul4
EastMike2
EastLois5
EastPete6
WestKaren2
SouthNick7
SouthChris9
SouthFrank1
SouthMel6

 

  

TABLE 2

 
DivisionManagerDivision TargetManager Target
NorthJohn125
NorthPaul128
EastMike1510
EastLois157
EastPete159
WestKaren35
SouthNick258
SouthChris2513
SouthFrank252
SouthMel257

  

RESULTS MATRIX
 % Below Target
North42%
John40%
Paul50%
East13%
Mike80%
Lois29%
Pete33%
West33%
Karen60%
South8%
Nick13%
Chris31%
Frank50%
Mel14%

 

Thank you for your support.

1 REPLY 1
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

v-lionel-msft_1-1620784865707.png

I don't particularly understand the mathematical calculation logic of this measure, please give an example to explain it.

 

Best regards,
Lionel Chen

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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