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

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.