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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Faber13
Helper II
Helper II

HOURS, MINUTES AND SECONDS

Hi everyone,

 

i need support with the case below.

 

was to add a minute when it was 60 seconds and leave the seconds at 0 

 

"Tempo Chegada DMC" is a decimal column and "total horas chegada decimal" it's a sum of it.

 

The correct Would Be 12:17:00 and 10:54:00

 

Faber13_0-1639133155953.png

 

 

Faber13_1-1639133172843.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Faber13 ,

 

If [Horas Chegada HH:MM:SS] is a calculated column, you can try to create a new calculated column.

Column 2 = IF(VALUE(RIGHT([Column],2))=60,[Column]+40)

vstephenmsft_0-1639645808274.png

 

If [Horas Chegada HH:MM:SS] is a measure, try to create a new measure.

Measure = IF(VALUE(RIGHT([Horas Chegada HH:MM:SS],2))=60,[Horas Chegada HH:MM:SS]+40)

vstephenmsft_1-1639645943084.png

 

The solution is that their essence is still a decimal number, judging the two digits at the end, and adding and subtracting them.

 

You can download the pbix file for more details.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Faber13 ,

 

If [Horas Chegada HH:MM:SS] is a calculated column, you can try to create a new calculated column.

Column 2 = IF(VALUE(RIGHT([Column],2))=60,[Column]+40)

vstephenmsft_0-1639645808274.png

 

If [Horas Chegada HH:MM:SS] is a measure, try to create a new measure.

Measure = IF(VALUE(RIGHT([Horas Chegada HH:MM:SS],2))=60,[Horas Chegada HH:MM:SS]+40)

vstephenmsft_1-1639645943084.png

 

The solution is that their essence is still a decimal number, judging the two digits at the end, and adding and subtracting them.

 

You can download the pbix file for more details.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Faber13 , You should put your HH , MM and SS to time function it should correct

 

Time([HH], [MM],[SS])

 

If needed as string format

 

format(,Time([HH], [MM],[SS]) , "HH:MM:SS" )

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

Hi  Amitchandak Thanks for the answer,

 

it didn't work, it still has the same problem and I need it in number format to use in graphics

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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