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
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
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.