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

Total percentage and row leader total percentage on Hierarchy higher than 100 %

Hi

I made a matrix with leadergroup hierarchy, however the total percentage for rls leaders and total percentage can be above 100 %.

 

I want the percentage for leaders and totals to be an average of their employees. The measure works on the single employee (marked with blue), however the percentages sum up as shown in table below marked with yellow. 

Spang2_1-1655799204809.png

If you need my calculations for sickness(sygdom) or the percentage to help fixing this issue, feel free to ask.

 

Thanks,

 

Spang

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

According to your statement, I think you want to percentage and totals in matrix subtotal to be an average of their employees. I suggest you to try ISINSCOPE() function to create a measure.

My Sample:

RicoZhou_0-1656055456221.png

Measure:

 

Measure = 
IF(ISINSCOPE('Table'[Level2]),SUM('Table'[Sygdom]),AVERAGE('Table'[Sygdom]))

 

 Result is as below.

RicoZhou_1-1656055481995.png

 

Best Regards,
Rico Zhou

 

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

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

According to your statement, I think you want to percentage and totals in matrix subtotal to be an average of their employees. I suggest you to try ISINSCOPE() function to create a measure.

My Sample:

RicoZhou_0-1656055456221.png

Measure:

 

Measure = 
IF(ISINSCOPE('Table'[Level2]),SUM('Table'[Sygdom]),AVERAGE('Table'[Sygdom]))

 

 Result is as below.

RicoZhou_1-1656055481995.png

 

Best Regards,
Rico Zhou

 

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.