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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Gingerjeans88
Helper IV
Helper IV

Calendar / Date Dim Table rendering all visuals blank

Hi,

 

Perhaps I am missing a couple of steps somewhere along the line. 

I need a custom 'academic year' calendar table because my client's year runs from 31st - 30th Aug (inclusive). 

 

I have worke through and created this, but when I start to relate it to my fact tables (there are many!) all of my previously-created visuals using dates (dates that are just columns in my fact table) break and show 'BLANK'. 

 

Do I need to relate the Date from the Date table to every single date column in every single fact table? How do I get past the fact that most of these already have active relationships so won't accept another?

 

A bit lost! I need the calendar to enable me to do things easily like SAMEPERIODLASTYEAR and YTD and YoY etc. 

 

MAny thanks!

2 REPLIES 2
dax
Community Support
Community Support

Hi @Gingerjeans88 ,

I am not clear about your requirement, if possible could you please inform me more detailed information(such as your expected output and your sample data )? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Gingerjeans88 , YTD and LYTd should work with calendar table

YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"8/30"))
Last YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(dateadd('Date'[Date],-1,Year),"8/30"))

 

Give you calendar in excel , like month qtr and year how you call, I will try to create

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.