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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
PBI_newuser
Post Prodigy
Post Prodigy

Missing data after create relationship with Calendar Table

Hi,

I have created relationship between 2 Fact tables and Calendar table.

But, once I created the relationship, many data in "Work Order" table is missing.

Please help.

 

PBI_newuser_0-1603173869640.png

 

1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @PBI_newuser 

 

It’s my pleasure to answer for you.
According to your description, Your ‘enddate’ is the type of datetype and has a specific time but date in calendar doesn’t has specific time.when you create relationships it maybe go wrong.
You can create a column containing the date of ‘enddate’ and create relationships between it and calendar date.
Like this:
enddate = DATE(YEAR([End Date]),MONTH([End Date]),DAY([End Date]))
v-janeyg-msft_0-1603331433166.png
Here is my sample data. Hope it helps.

If it doesn’t solve your problem, please feel free to ask me.

 

Best Regards
Janey Guo

 

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

View solution in original post

3 REPLIES 3
v-janeyg-msft
Community Support
Community Support

Hi, @PBI_newuser 

 

It’s my pleasure to answer for you.
According to your description, Your ‘enddate’ is the type of datetype and has a specific time but date in calendar doesn’t has specific time.when you create relationships it maybe go wrong.
You can create a column containing the date of ‘enddate’ and create relationships between it and calendar date.
Like this:
enddate = DATE(YEAR([End Date]),MONTH([End Date]),DAY([End Date]))
v-janeyg-msft_0-1603331433166.png
Here is my sample data. Hope it helps.

If it doesn’t solve your problem, please feel free to ask me.

 

Best Regards
Janey Guo

 

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

@PBI_newuser , relatioship seems fine. Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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

Hi @amitchandak ,

 

Below is the sample pbix file.

https://we.tl/t-W5i7qdxdQV


By using Calendar table's date as filter:

PBI_newuser_0-1603176116217.png 

By using Fact table's date as filter:

PBI_newuser_2-1603176166008.png

 

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors