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

Summarize two columns into one

Hi all,

 

I need to combine two columns into one column, and at the same time, sum their values up. 

 

This is a bit weird, cant really find a solution online. Please let me know if I can clarify more. Thank you.

 

Capture.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Summarize two columns into one

@jichaowu

 

You can use this calculated column

 

Column =
CALCULATE (
    SUM ( Table1[Fee_XXX] ) + SUM ( Table1[Fee_YYY] ),
    ALLEXCEPT ( Table1, Table1[User] )
)

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Summarize two columns into one

@jichaowu

 

You can use this calculated column

 

Column =
CALCULATE (
    SUM ( Table1[Fee_XXX] ) + SUM ( Table1[Fee_YYY] ),
    ALLEXCEPT ( Table1, Table1[User] )
)

View solution in original post

jichaowu Frequent Visitor
Frequent Visitor

Re: Summarize two columns into one

Thanks a lot Zubair, great solution

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 417 members 3,708 guests
Please welcome our newest community members: