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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
mouzi4us
New Member

Changing the count to sum in time format

Hi Friends

 

I have a problem with time format in PBI , i want to demonstrate the over time in column chart , but instead of suming the values for different people , it counts them !!!

 

in the edit queries i ve changed the overtime format to TIME , but still doesnt work and also there is no Sum in quick calc too .

 

 i ll be so thankful if u help me on this

 

Time

1 ACCEPTED SOLUTION
BhaveshPatel
Community Champion
Community Champion

It is relatively hard to do aggregations on TIME FORMATS of the data. For this purpose, I have split the column by " : " Delimiter and

then again split by space demiliter to remove AM. Followed by this, I multiplied the hour column by 60 and summed up hour and minutes column together to get total minutes.

 

It is then divided by 60 and rounded to 4 decimal places to get the actual overtime in hours.

 

All I have done this in Query Editor and You can finally see the results in the column chart summed up. 

REFER TO THE SCREENSHOTS ATTACHED FOR THE STEPS.SPLIT BY COLONSPLIT BY COLONSPLIT BY SPACESPLIT BY SPACECREATE CUSTOM COLUMNCREATE CUSTOM COLUMN

 

 

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

View solution in original post

1 REPLY 1
BhaveshPatel
Community Champion
Community Champion

It is relatively hard to do aggregations on TIME FORMATS of the data. For this purpose, I have split the column by " : " Delimiter and

then again split by space demiliter to remove AM. Followed by this, I multiplied the hour column by 60 and summed up hour and minutes column together to get total minutes.

 

It is then divided by 60 and rounded to 4 decimal places to get the actual overtime in hours.

 

All I have done this in Query Editor and You can finally see the results in the column chart summed up. 

REFER TO THE SCREENSHOTS ATTACHED FOR THE STEPS.SPLIT BY COLONSPLIT BY COLONSPLIT BY SPACESPLIT BY SPACECREATE CUSTOM COLUMNCREATE CUSTOM COLUMN

 

 

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.