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
まもる
Frequent Visitor

Automatic generation of date and time data every 5 minutes.

I will post it for the first time.
Please let me know if you know.

 

I want to automatically generate date and time data every 5 minutes instead of date data like CALENDAR.

 

CALENDAR("2018/10/1",TODAY())
2018/10/01 0:00:00
2018/10/02 0:00:00
2018/10/03 0:00:00
2018/10/04 0:00:00
2018/10/05 0:00:00
etc.

 

The data I want (every 5 minutes)
2018/10/01 0:00:00
2018/10/01 0:05:00
2018/10/01 0:10:00
2018/10/01 0:15:00
2018/10/01 0:20:00
2018/10/01 0:25:00
2018/10/01 0:30:00
2018/10/01 0:35:00
2018/10/01 0:40:00
etc.

 

I can not speak English.  I'm sorry if English was wrong.
Thank you.

1 ACCEPTED SOLUTION
PattemManohar
Community Champion
Community Champion

@まもる Please try this as a "New Table"

 

Table = 
var _min = SELECTCOLUMNS(GENERATESERIES(0,60,5),"Minutes",[Value])
var _hour = SELECTCOLUMNS(GENERATESERIES(0,23),"Hour",[Value])
var _date = CALENDAR("2018-11-01","2018-11-02")
RETURN FILTER(CROSSJOIN(CROSSJOIN(_hour,_min),_date),[Minutes]<>0)

Then add a "New Column" (Which will be final expected output) as below

 

Final = [Date]+TIME('Table'[Hour],'Table'[Minutes],0)

image.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




View solution in original post

3 REPLIES 3
PattemManohar
Community Champion
Community Champion

@まもる Please try this as a "New Table"

 

Table = 
var _min = SELECTCOLUMNS(GENERATESERIES(0,60,5),"Minutes",[Value])
var _hour = SELECTCOLUMNS(GENERATESERIES(0,23),"Hour",[Value])
var _date = CALENDAR("2018-11-01","2018-11-02")
RETURN FILTER(CROSSJOIN(CROSSJOIN(_hour,_min),_date),[Minutes]<>0)

Then add a "New Column" (Which will be final expected output) as below

 

Final = [Date]+TIME('Table'[Hour],'Table'[Minutes],0)

image.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Wonderful great

@PattemManohar

 

Hello.  Thank you for your information.
It's perfect!

Thank you very much.

 

 

 

I'm so sorry.  I have an additional question.

Do you know how to generate this with Power Query?

Thank you.

 

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