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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
dofrancis3
Helper III
Helper III

Sum of two columns

Dear Colleagues,

I need your help

I would like to calculate colum DJ+HR By status so that i can have the result column please could you help me with the DAX Mesure.

Thank you for your support

 

dofrancis3_1-1739358374433.png

 

 

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@dofrancis3 , Try using

 

DAX
TotalDJHR = SUMX(
VALUES(TableName[Status]),
CALCULATE(SUM(TableName[DJ]) + SUM(TableName[HR]))
)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

2 REPLIES 2
powerbidev123
Responsive Resident
Responsive Resident

Hi @dofrancis3 , its just simple 

Result = 'Table'[DJ]+'Table'[HR]
bhanu_gautam
Super User
Super User

@dofrancis3 , Try using

 

DAX
TotalDJHR = SUMX(
VALUES(TableName[Status]),
CALCULATE(SUM(TableName[DJ]) + SUM(TableName[HR]))
)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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