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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
PSRai
Helper III
Helper III

Incorrect SUM

I have the ActualLabourMinutes that need to be converted into Hours.. I have created a column that is called Labour Hours however its applying the total hours across all rows instead of sum of individual rows. The output column should be ActualLabourHours which I need help to create?

 

I used the follow - LabourHours = CALCULATE(SUMX(WorksOrderTracking,WorksOrderTracking[ActLabourMinutes])/60

 

ActualLabour

Minutes               LabourHours     ActualLabourHours

2942                       337.4333333       49.03333333

982                         337.4333333       16.36666667

4038                       337.4333333       67.3

2707                       337.4333333       45.11666667

1641                       337.4333333       27.35

872                         337.4333333       14.53333333

3305                       337.4333333       55.08333333

296                         337.4333333       4.933333333

3463                       337.4333333       57.71666667

                               

20246                    3036.9                   337.4333333

2 ACCEPTED SOLUTIONS
rajulshah
Resident Rockstar
Resident Rockstar

Hello @PSRai,

 

Please try the following DAX query in your calculated column query:

LabourHours = WorksOrderTracking[ActLabourMinutes]/60

Let me know if this works. 

View solution in original post

amitchandak
Super User
Super User

Create a new column ,

LabourHours =WorksOrderTracking[ActLabourMinutes]/60

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

Create a new column ,

LabourHours =WorksOrderTracking[ActLabourMinutes]/60

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
rajulshah
Resident Rockstar
Resident Rockstar

Hello @PSRai,

 

Please try the following DAX query in your calculated column query:

LabourHours = WorksOrderTracking[ActLabourMinutes]/60

Let me know if this works. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.