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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
sdhn
Responsive Resident
Responsive Resident

How to SUM (add) two columns in same table

Hello All,

 

How to SUM (add) two columns in same table?

 

for example:

Players , 

 

55

 

Audinces 

 

1000

 

I want to add both columns thru mesaure and create new column called Total.

 

Thanks 

 

1 ACCEPTED SOLUTION

Hi @sdhn 

 

If you need a calculated column to sum two column values in the same row, use 

Total 1 = 'Table (2)'[Players] + 'Table (2)'[Audinces ]

 

If you need a calculated column to sum all values in two columns, use

Total 2 = SUM('Table (2)'[Players]) + SUM('Table (2)'[Audinces ])

070501.jpg

 

If you need a measure for Total, use

Total = SUM('Table'[Players] ) + SUM('Table'[Audinces ] )

Or

Total = [Players #] + [Audinces #]

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

View solution in original post

2 REPLIES 2
sdhn
Responsive Resident
Responsive Resident

I created following mesaures
 
1)
Players #  = SUM('Table'[Players] )
 
2)
Audinces #  = SUM('Table'[Audinces ] )
 
Now i need to add both:
 
Total  = SUM('Table'[Remaining Desktops] +  .....   ?  
 
Help wil be appreciated. 

Hi @sdhn 

 

If you need a calculated column to sum two column values in the same row, use 

Total 1 = 'Table (2)'[Players] + 'Table (2)'[Audinces ]

 

If you need a calculated column to sum all values in two columns, use

Total 2 = SUM('Table (2)'[Players]) + SUM('Table (2)'[Audinces ])

070501.jpg

 

If you need a measure for Total, use

Total = SUM('Table'[Players] ) + SUM('Table'[Audinces ] )

Or

Total = [Players #] + [Audinces #]

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.