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
DennisNilsson
Frequent Visitor

How do I calculate Column 1 + Column 2=?

Hey,

 

I have two columns, one that tells me the current number of megabytes a customer has in their space and one that tells me the number of megabytes that same customer has deleted. I am trying to calculate how many he has uploaded in total via a DAX expression.

 

Problem is however that these numbers exist in different columns and must be calculated for each row.

Mathwise this is pretty simple, current megabytes + deleted megabytes = total uploaded

 

Imagine something like this, where the new column I would like to create is "total uploaded megabytes"

 

Customer name                     current megabytes                        deleted megabytes                                total uploaded megabytes

Customer X                            123                                                 7                                                            130

 

 

I appriciate all the help I can get on this!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

 

You can add a "New column" to the table. (tab "Modelling" --> New Column) 
Total Uploaded Megabytes = 'yourtablename'[current megabytes] + 'yourtablename'[deleted megabytes]

 

It will be calculated for each row. 

 

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi,

 

You can add a "New column" to the table. (tab "Modelling" --> New Column) 
Total Uploaded Megabytes = 'yourtablename'[current megabytes] + 'yourtablename'[deleted megabytes]

 

It will be calculated for each row. 

 

So no argument is needed at all. This service keeps on surprising me... Thank you @Anonymous for an elegant solution! I assume this will also be calculated for new entries as I refresh the table.

Anonymous
Not applicable

You're wellcome. Correct, it will be calculated automatically when adding or changing records to the table.

Anonymous
Not applicable

Hi

 

Pls use this formula.

 

SUMX (Table_Name, Table_Name[Current_Megabytes]+ Table_Name[Deleted_Megabytes])

 

 

 

Thanks
Raj

NipponSahore
Resolver II
Resolver II

Use function SUMX.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.