cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fham01
Frequent Visitor

How to sum each row?

Hello,

 

I have a question. I want to add a new column to the table with summing up each row. How can I do it so it looks like the field highlighted in yellow? For some reason, I have difficulties with it... it's frustrating.

 

fham01_0-1644404621267.png

 

I appreciate every help!

 

With kind regards,

Klaudia

 

 

 

1 ACCEPTED SOLUTION
Samarth_18
Super User
Super User

Hi @fham01 ,

 

You can create a column with below code:-

sum = column A + column B + column C + column D + column E

 

Thanks,

Samarth

 

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

View solution in original post

2 REPLIES 2
Samarth_18
Super User
Super User

Hi @fham01 ,

 

You can create a column with below code:-

sum = column A + column B + column C + column D + column E

 

Thanks,

Samarth

 

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Thank you. That was indeed easy, was trying to do the same thing a little bit more complicated and wondered why it didn't work. Lesson learned! 😊

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors