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
luisecp
Frequent Visitor

Create a table that increase 1 hour since a date until today ()

I want to create a table that increase 1 hours since one date "01/01/2021" until now

 

Datetime

01/01/2021 00:00:00

01/01/2021 01:00:00

01/01/2021 02:00:00

01/01/2021 03:00:00

01/01/2021 04:00:00

.

.

.

TODAY

 

 

 

Regards

 

Luis

1 ACCEPTED SOLUTION
VahidDM
Super User
Super User

Hi @luisecp 

 

Try this code to create a new table:

 

 

Table = 
GENERATESERIES ( DATE ( 2021, 01, 01 ), NOW (), TIME ( 01, 00, 00 ) )

 

 

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

View solution in original post

2 REPLIES 2
v-xiaoyan-msft
Community Support
Community Support

Hi @luisecp ,

 

Does the replies above solve your problem? If it has been solved, please mark the correct reply as the standard answer to help the other members find it more quickly.Thanks in advance for your kind cooperation!

 

Hope it helps,


Community Support Team _ Caitlyn

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

VahidDM
Super User
Super User

Hi @luisecp 

 

Try this code to create a new table:

 

 

Table = 
GENERATESERIES ( DATE ( 2021, 01, 01 ), NOW (), TIME ( 01, 00, 00 ) )

 

 

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

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.

Top Solution Authors