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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Dividing 2 columns of a matrix visual

Below is matrix visual I have created with no. of req's per person.

(Both Delayed and Ontime are from the same column in the data).

ICapture.PNG

 

I wanted to calculate the TAT% by dividing Delayed requests by total no. of req's. I have created a measure which worked fine and got the correct TAT%. But when i included this measure in the matrix visual, TAT% is showing up for each any every column of the matrix visual. See the below image.

 

Capture1.PNG

 

Please help me out with this. TAT% should only be visible in grand total column.

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@Anonymous 

As of today, the feature you are looking for is not available in Power BI but it is in Excel with Pivot Tables Sets.
You can vote for that feature at https://ideas.powerbi.com/ideas/

To solve your problem, you can set it up in table visual. You need to create two additional measures for Delayed and Ontime.

 

Delayed = CALCULATE( SUM(Table9[TAT]), Table9[Reponse] = "Delayed")
--------------------------------
On Time= CALCULATE( SUM(Table9[TAT]), Table9[Reponse] = "Ontime")
--------------------------------
Delayed % = 
DIVIDE(
    [Delayed],
    CALCULATE( SUM(Table9[TAT]) , ALLSELECTED(Table9))
)

 

Screenshot 2020-12-19 192043.png

 

 

 

 

 

 

 

 

 

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


Website YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

1 REPLY 1
Fowmy
Super User
Super User

@Anonymous 

As of today, the feature you are looking for is not available in Power BI but it is in Excel with Pivot Tables Sets.
You can vote for that feature at https://ideas.powerbi.com/ideas/

To solve your problem, you can set it up in table visual. You need to create two additional measures for Delayed and Ontime.

 

Delayed = CALCULATE( SUM(Table9[TAT]), Table9[Reponse] = "Delayed")
--------------------------------
On Time= CALCULATE( SUM(Table9[TAT]), Table9[Reponse] = "Ontime")
--------------------------------
Delayed % = 
DIVIDE(
    [Delayed],
    CALCULATE( SUM(Table9[TAT]) , ALLSELECTED(Table9))
)

 

Screenshot 2020-12-19 192043.png

 

 

 

 

 

 

 

 

 

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


Website YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.