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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
xiumi_hou
Post Partisan
Post Partisan

Need Help(Very urgent!!!!!!) with link two tables by date

I was trying to add relationship of two tables. 

 

1. d_date[date] with unique date value I create from 2012 to 2019 April

2. f_calls[call_date] with a list of all the calls date 

The realtionship to these two tables are one to many.

 

And I use a function to calculate all the calls made in a specific date range. The function are as below: 

Calls Count A1 Assessment Held =
CALCULATE(
COUNT(f_calls[Parent_id]),
FILTER(
f_calls,
f_calls[Status]="Held" &&
f_calls[Type_c]= "Assessment"
)
)
When I use the filter and value as f_calls[date], which looks good. However, when I use d_date[date] as silcer filter, it gave empty result (all equal to 13) unless I choose the entire date range(result 8211).
 
Any idea about this stitution? Thanks!
 
As of below: 1.JPG2.JPG


1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi there,

You're going to be better asking this question in the Desktop forum, as there's a lot of data modelling/DAX experts in there that typically don't frequent the Developer forum.

The first thing I personally check with a related column using dates, is the data type on each side of the join. Start with Power Query - both columns should be of type Date in the final step. Often, one of my table's columns is Text or Date/Time (particularly if it's been part of a transformation on the way through) whereas the other is Date, and this means the join may not always resolve.

If your types are okay, I'd suggest re-posting your question in the Desktop forum, or asking a moderator to move this one across.

Good luck!





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

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

1 REPLY 1
dm-p
Super User
Super User

Hi there,

You're going to be better asking this question in the Desktop forum, as there's a lot of data modelling/DAX experts in there that typically don't frequent the Developer forum.

The first thing I personally check with a related column using dates, is the data type on each side of the join. Start with Power Query - both columns should be of type Date in the final step. Often, one of my table's columns is Text or Date/Time (particularly if it's been part of a transformation on the way through) whereas the other is Date, and this means the join may not always resolve.

If your types are okay, I'd suggest re-posting your question in the Desktop forum, or asking a moderator to move this one across.

Good luck!





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

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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