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
AaronRogers3
Helper I
Helper I

Hours Column + Minutes Column.. how to combine?

Hi All,

 

I have an hours column and a minutes column which are simply just whole numbers.

I would like to combine these columns so that the minutes updates to an hour after 60.

 

How could i do this, i have tried formatting however i have been having no luck.

1 ACCEPTED SOLUTION

Hi @AaronRogers3,

 

To achieve your requirement, you can create a calculated column with Time() function. Then change this column to Time type.

 

Please refer to following sample:

 

Hour&Minutes = TIME(TableTime[Hour],TableTime[Minutes],0)

11.PNG

 

Thanks,
Xi Jin.

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

That looks good... but my hours field and my minutes field are just whole numbers not date/time.

 

For example:

 

Hours : 4

Minutes : 45

 

Hi @AaronRogers3,

 

To achieve your requirement, you can create a calculated column with Time() function. Then change this column to Time type.

 

Please refer to following sample:

 

Hour&Minutes = TIME(TableTime[Hour],TableTime[Minutes],0)

11.PNG

 

Thanks,
Xi Jin.

 

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.