Forum Discussion

achaitrar91's avatar
achaitrar91
Regular Visitor
9 years ago

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

  • v-caliao-msft's avatar
    v-caliao-msft
    Icon for Microsoft Employee rankMicrosoft 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