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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
alycianw
Frequent Visitor

Centralized Calendar

I am trying to connect a single table with a working centralized calendar table. I have created the basic calendar table, marked it as a Date Table, Created relationship between Calendar Table on the Date column and the Change Request table on the sys_created_on column. I still cannot use the calendar table as either a slicer or in a visual to display data by year.
I am just trying to get this very simple connection and report to work so I can create a centralized calendar for another report I have with 3 tables that each have 2 dates in them that need to be tracked. Having the same issues on that report so wanted to start by getting something simpler to work as intended.

 

 

Relationship Setup:

 

Relationship SetupRelationship Setup

 

 

Expected results when using calendar slicer

 

Expected results when using calendar slicerExpected results when using calendar slicer

 

What it shows by default, the top graph uses the date/month from another date filed in the original table, second uses calendar year/month and does not work

 

What it shows by default, the top graph uses the date/month from another date filed in the original table, second uses calendar year/month and does not workWhat it shows by default, the top graph uses the date/month from another date filed in the original table, second uses calendar year/month and does not work

 

Calendar Fileter showing all blanks

Calendar Fileter showing all blanksCalendar Fileter showing all blanks

3 ACCEPTED SOLUTIONS
Kaviraj11
Super User
Super User

What is the data type on system_created_dt in Change Request table?

 

If it's a datetime, make sure to change it to date data type in the source or pwoer query.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

Idrissshatila
Super User
Super User

Hello @alycianw ,

 

it's as @Kaviraj11  mentioned, this behaviour occurs when the date type column is linked to the datetime column.

 

and it's in your fact table and would only work when changed in Power Query.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

@alycianw , you should sort the month column by the month number column.

 

check to see how https://youtu.be/oNXZbi8BGMs?si=3PCs83HgbtCG2w4u

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

6 REPLIES 6
Kaviraj11
Super User
Super User

Are you using the month year column from Change Request table? If yes, make sure to use it from Calendar table.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





the bottom graph is using the year/month name from the calendar table, but it is now showing in chronological order,

@alycianw , you should sort the month column by the month number column.

 

check to see how https://youtu.be/oNXZbi8BGMs?si=3PCs83HgbtCG2w4u

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Idrissshatila
Super User
Super User

Hello @alycianw ,

 

it's as @Kaviraj11  mentioned, this behaviour occurs when the date type column is linked to the datetime column.

 

and it's in your fact table and would only work when changed in Power Query.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Kaviraj11
Super User
Super User

What is the data type on system_created_dt in Change Request table?

 

If it's a datetime, make sure to change it to date data type in the source or pwoer query.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





That worked, thank you so much!

But I have one more question. Do you know why now my year / month name are not in the correct order?

 

PowerBI Relationship Ticket5.png

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.