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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
orischmann9291
Frequent Visitor

Set as MM:SS

I need to have time done as only MM:SS without hours so that the time would read as 90:30 rather than 1:30:30.  Is there a way to create a custom format for a colukmn similar to how it is done in excel allowing me to have my data read this way?

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @orischmann9291,

 

You can create a DAX Column Minutes so you can perform calculations with it:

 

 

Minutes = HOUR(Table[Time_Column])*60 + 
MINUTE(Table[Time_Column]) +
DIVIDE(SECOND(Table[Time_Column]);60)

 

Or create a DAX Column like this, with text format:

 

Minutes_Seconds = CONCATENATE(HOUR(Table[Time_Column])*60 + MINUTE(Table[Time_Column]);
                              CONCATENATE(":"; 
SECOND(Table[Time_Column])
)
)

Regards.

 

 

 

View solution in original post

Anonymous
Not applicable

Hi @orischmann9291,

 

Change this semicolon to a comma, that should work.

 

Regards.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @orischmann9291,

 

You can create a DAX Column Minutes so you can perform calculations with it:

 

 

Minutes = HOUR(Table[Time_Column])*60 + 
MINUTE(Table[Time_Column]) +
DIVIDE(SECOND(Table[Time_Column]);60)

 

Or create a DAX Column like this, with text format:

 

Minutes_Seconds = CONCATENATE(HOUR(Table[Time_Column])*60 + MINUTE(Table[Time_Column]);
                              CONCATENATE(":"; 
SECOND(Table[Time_Column])
)
)

Regards.

 

 

 

Hi @Anonymous

 

I tried your first option and am getting a message telling me the syntax for ; is incorrect.  Is this something that I could have incorrectly entered wrong?

Anonymous
Not applicable

Hi @orischmann9291,

 

Change this semicolon to a comma, that should work.

 

Regards.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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