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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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