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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Leap Year Weekly

Hi,

 

I am trying to display weekly data since 2013, where each year's week begins on Jan 1.

So far, I have made this work for most years, but when it is leap year, it throws the counts of the weeks off and therefore throws all my weeks off.

The first screenshot below shows the weeks that I want to display in my visualization

Capture.PNG

In this second screenshot when I choose the year 2016, it shows that leap year has cause the weeks to shift, and therefore the visualization to shift...

Capture.PNG

 

Is there a work around for this issue?


Please let me know if this question is confusing


Thank you!
Sarah

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I figured it out thank you

Sarah

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

I think you would greatly benefit from using the custom timeline slicer examplified here: https://powerbi.microsoft.com/en-us/blog/visual-awesomeness-unlocked-the-timeline-slicer/

 

It has certainly made my life easier.

Anonymous
Not applicable

I figured it out thank you

Sarah

v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

Can you show me your sample data? I have tried in my desktop, but I didn’t find such an occasion as you mentioned.

What is shown here is normal even if there is a leap year between.

112.png

 

Best Regards,

Kelly

 

Anonymous
Not applicable

hi @v-kelly-msft ,

 

Sorry I am new to Power BI .. what do you mean by sample data?

 

In 2016, there exists a Febuary 29, but in 2013, 2014, 2015, 2017, 2018, and 2019 there isn't.. I also believe there is a Feb 29 in 2020 also... with this, it throws off the grouped weeks because of the extra day... I found a work around where I removed the date of Feb 29 all together, but this also deletes the data on this day.. 

 

Thank you!
Sarah

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.