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

Calendar Table

Hello Experts 

Please how can i create the following fiscal Calendar Table that:

1. Starts from February 2019 - to date, (or From February 2019 - January 2021 fiscal year) and 

2. Has Daily, Weekly, Monthly and Qualterly Calendar? 

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

Hi @nosirui54 ,

According to your description, here’s my solution.

1.Create a date table, which has the max and min time of your calendar.

vkalyjmsft_0-1636939652487.png

 

2.Create a new table like this.

vkalyjmsft_1-1636939652496.png

 

Best Regards,
Community Support Team _ kalyj

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

View solution in original post

3 REPLIES 3
v-yanjiang-msft
Community Support
Community Support

Hi @nosirui54 ,

According to your description, here’s my solution.

1.Create a date table, which has the max and min time of your calendar.

vkalyjmsft_0-1636939652487.png

 

2.Create a new table like this.

vkalyjmsft_1-1636939652496.png

 

Best Regards,
Community Support Team _ kalyj

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

Awesome. Thank you SO much for the solution its works. Please Is there a way I can twist the Measures to (May 2019 - April 2030). Assuming, I don’t have existing reference Data to use the Min/Max with?

I mean how can I avoid  the Min/Max, supposing I don’t have exiting  data yet, like  I just want to create a Fiscal Calendar Table (May 2019 - April 2030) or from (May 2019 – April 2021).

AlexisOlson
Super User
Super User

Here's a fairly comprehensive template you can take the pieces you need from:
https://www.sqlbi.com/articles/reference-date-table-in-dax-and-power-bi/

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.