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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Date table relationship not working perfectly

Hi,

 

I have a SQL data table I'm pulling from Navision 2015.  I then have it linked to a calendar table (I started with one that I created myself in excel, then also tried moving to one created in power BI).

 

Everything looked like it was working fine.  I can filter by months, and years etc.  Then I noticed there is a small number of rows that don't relate properly to the calendar table.

 

For examle, If I was to filter on July 2017,  I would get all the sales for July 2017, but then also get some transactions with a date of 8/1/17, 9/1/17 and 11/1/17.   It seems that the extra dates are aways on the first of some other month.  Also, not all months have this problem.

 

If I go into the table detail (where I added some extra relationship columns to pull over month and year from the calendar table).  I can clearly see 8/1/17 as going to July 2017

 

But if I go to the calendar table, 8/1/17 is clearly going to August 2017 as it should be.

 

If I go into edit query, both sets of dates are set as date.  I've also tried setting both as date time.  Still same problem.

 

Any ideas?

 

 

 

 

4 REPLIES 4
Anonymous
Not applicable

@Anonymous will probably need to see the power bi file. can you plz post that here.

Anonymous
Not applicable

One other note, when I look at the data set in power pivot this error doesn't occur.  So I'm thinking this must be a power BI error.

Anonymous
Not applicable

Sorry I can't post our sales data.  Management would be very upset.

 

 

Anonymous
Not applicable

@Anonymous remove the confidential stuff and try to recreate the error with dummy data.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.