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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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