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
achaitrar91
Regular Visitor

Help : Calculate the difference between two rows in the matrix table

PBI is new to me. In tableau I just had to pick 'difference' tab from the dropdown and that use to do the trick .I'm trying to calculate the difference between two rows in the matrix table

 

Actual data used to create the matrix

TEST_GROUPAVG_BALAVG_1AVG_2AVG_3
TEST120304010
CTRL11030400.28
TEST23030400.09
CTRL24030400.09
CTRL35030400.04
TEST31030400.04
CTRL42030400.03
TEST41030400.03
CTRL53030400.03
TEST55030400.03
CTRL66030400.02
TEST67030400.02
CTRL78030400.02
TEST71030400.02
CTRL81030400.02
TEST81030400.02
TEST92030400.11
TEST101030400.04

 

Matrix- This is how my table looks like

 

groups   avg-bal   avg-1   avg-2    avg3

test         600         50        60         60

control    200        40         30         20

 

This is how I want my matrix table to look like

groups           avg-bal   avg-1   avg-2    avg3

test                   600         50        60         60

control             200        40         30         20

Difference        400        10         30         40

Any help is appreciated!

1 REPLY 1
v-caliao-msft
Microsoft Employee
Microsoft Employee

@achaitrar91,

 

Currently, there is no such a option that allow to change the Total row to Difference row. If you have any concern on this feature, you can submit your idea on the link below. If this feature was mentioned by mulitple users, product team will consider to add this feature to next release.

https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

Thank you for your understanding.

 

Regards,
Charlie Liao

Helpful resources

Announcements
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.