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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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