cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors