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

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

Reply
Shayz2402
Frequent Visitor

Duration is reflecting in Time Format AM/PM

Hi,

 

I have a Data on Google sheet which is in Duration Format and when I link this sheet with Power Bi Data Source it is reflecting in Time Format AM/PM

 

I would really appreciate if anyone can please me show the same duration as it is in my data sheet.

 

PFB Screenshot for your refrenec.

 

Shayz2402_0-1658640161458.png

Shayz2402_1-1658640382371.png

 

Thanks.

 

2 ACCEPTED SOLUTIONS
SpartaBI
Community Champion
Community Champion

@Shayz2402 you can PM me and we could do a quick zoom to look together if you want. Hard to see from the sceenshots

View solution in original post

@ this is the code:

 

Five 9 Total = 
VAR _value = SUM(Sheet7[Five 9 Login TIme])
VAR _hours = DATEDIFF(DATE(1899,12,30),_value,DAY) * 24 + HOUR(_value)
VAR _minutes = MINUTE(_value)
VAR _seconds = SECOND(_value)
RETURN
    _hours & ":" & _minutes & ":" & _seconds

 


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png


Full-Logo11.png

SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Showcase Report – Contoso By SpartaBI

View solution in original post

6 REPLIES 6
Shayz2402
Frequent Visitor

Request everyone to please Help me.

@ this is the code:

 

Five 9 Total = 
VAR _value = SUM(Sheet7[Five 9 Login TIme])
VAR _hours = DATEDIFF(DATE(1899,12,30),_value,DAY) * 24 + HOUR(_value)
VAR _minutes = MINUTE(_value)
VAR _seconds = SECOND(_value)
RETURN
    _hours & ":" & _minutes & ":" & _seconds

 


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png


Full-Logo11.png

SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Showcase Report – Contoso By SpartaBI

Thanks a lots @SpartaBI You are an very knowlagable and amazing Person. You safe my day and also it means a lot to me.

Thanks a Lot and Much appreciated your help and support.
Looking forward to work with you.

@Shayz2402 MY PLEASURE!! 🙂

SpartaBI
Community Champion
Community Champion

@Shayz2402 you can PM me and we could do a quick zoom to look together if you want. Hard to see from the sceenshots

Hi @SpartaBI Thanks for your reply. Can you please confirm your availablity for today to connect on Zoom.

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors