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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors