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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
jrolson113
Regular Visitor

Column Addition/Subtraction

Hi All,

 

I am looking to add/subtract columns from a singular matrix; and for what I think should be something easy to do, it is proving difficult.

jrolson113_0-1681755371245.png

To help explain my thinking, I would like to take "1- Opening" and add "2 - Total Credits" then subtract "3 - Total Debits" to give me the "4 - Closing" value. Essentially, I would like this to serve as a check to make sure that all my information is pulling in correctly.

 

Also, here are the tables I am using to get my information:

jrolson113_1-1681755526901.png

Absent the "Category 1" it is all coming from the same table.

1 REPLY 1
PabloDeheza
Solution Sage
Solution Sage

Hi there!

You can try something like

 

Measure =
SUMX (
    SUMMARIZE (
        'Summary',
        'Summary'[Column1],
        'Summary'[Column2],
        'Account Table'[Category 1]
    ),
    [1- Opening] + [2 - Total Credits] - [3 - Total Debits]
)

 

Let me know if that helps!

Helpful resources

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