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
Anonymous
Not applicable

Calendar with time intervals

Dear users,

 

I am currently looking into an easy function to make a calendar of say 10 years, but with 15min intervals.

Preferably to look like:

01-01-2010 00:00

01-01-2010 00:15

etc

 

Ideas?

Many thanks beforehand!

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

Based on my test, we can take the following steps to meet your requirement.

 

  • Enter a time table from 00:00 – 23:45 named Time.
  • Use the formula below to create a calculate table.
    DateTime = 
    ADDCOLUMNS (
        CROSSJOIN (
            CALENDAR ( DATE ( 2000, 1, 1 ), DATE ( 2010, 12, 31 ) ),
           'time'  
        ),
        "DateTime", [Date] + [Time]
    )
  • Then we can get a column that we need.

    1.png

   
For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/zle0j2a9mi4l7vc/Calendar%20with%20time%20intervals.pbix?dl=0

 

Regards,

Frank

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

Based on my test, we can take the following steps to meet your requirement.

 

  • Enter a time table from 00:00 – 23:45 named Time.
  • Use the formula below to create a calculate table.
    DateTime = 
    ADDCOLUMNS (
        CROSSJOIN (
            CALENDAR ( DATE ( 2000, 1, 1 ), DATE ( 2010, 12, 31 ) ),
           'time'  
        ),
        "DateTime", [Date] + [Time]
    )
  • Then we can get a column that we need.

    1.png

   
For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/zle0j2a9mi4l7vc/Calendar%20with%20time%20intervals.pbix?dl=0

 

Regards,

Frank

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @Anonymous,

 

Does that make sense? If so , kindly mark the answer as a solution to close the case, thanks in advance.

 

Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

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.