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

Creating a Fiscal Calendar with 52 Weeks

I am trying to create a Fiscal Calendar with Columns:

  • Fiscal Year (52 Weeks per Year)
  • Fiscal Quarter (November-Jan as First Quarter)
  • Fiscal Month (November as starting Month)
  • Fiscal Weeks (Sunday as starting Day)

I've tried several tutorials but they don't seem to tally with my 2023 Fiscal Calendar.

anonumox_1-1678849994072.png

Attached picture above shows October 30, 2022 as Fiscal Year 2022, Fiscal Quarter 4, Fiscal Month 12 instead of 2023, 1, 1, respectively.

anonumox_0-1678849881385.png anonumox_1-1678851142746.png

October 30 should be the starting date with October 28 as ending date of Fiscal Year 2023.

1 ACCEPTED SOLUTION
KNP
Super User
Super User

Hi @Anonymous,

 

See attached PBIX. Review the Power Query code and let me know if you have any questions.

Original code from @mahoneypat I think.

Modified to suit my application.

 

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

View solution in original post

2 REPLIES 2
KNP
Super User
Super User

Hi @Anonymous,

 

See attached PBIX. Review the Power Query code and let me know if you have any questions.

Original code from @mahoneypat I think.

Modified to suit my application.

 

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

Sorry, I rushed the reply and PBIX.

I called the main query Date, the query is usually called Fiscal in my Date Dataflow and I merge it with the main Date table, on date. Then expand what you need.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

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.