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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.