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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
stino123
Helper II
Helper II

Fact table is not working with Calendar table

HI,

 

I have the following relationship between my calendar table and my fact table which demonstrates number of visitors. Both the data types are date/time, I have played around with the types without success.

 

stino123_0-1659701057233.png

 

When I try to model the data (demonstrate visitors per month) it will not create the visual as such:

stino123_1-1659701180529.png

 

However if I delete the relationship I can model the data with the date in my fact table. I need it to work with my calendar so that I can create dax between my other related tables. 

 

Thanks in Advance,

 

 

 

1 ACCEPTED SOLUTION
stino123
Helper II
Helper II

Hey @amitchandak, I managed to find the solution. It seems that when I changed the type of data in my fact table in the table function on desktop it did not work. However in Power query by changing the date table in my fact table from date/time to date the relationship did work. Thanks for the help though

View solution in original post

2 REPLIES 2
stino123
Helper II
Helper II

Hey @amitchandak, I managed to find the solution. It seems that when I changed the type of data in my fact table in the table function on desktop it did not work. However in Power query by changing the date table in my fact table from date/time to date the relationship did work. Thanks for the help though

amitchandak
Super User
Super User

@stino123 , 1. You date table do not have dates which used in fact

2. Your date in fact has timestamp and it is not visible because you used datatype date in DAX.

3. Create a date column, Date = Datevalues([datetime]), and join that with the date table 

 

refer blog and video for details

 

Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI:https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5b...

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors