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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
webportal
Impactful Individual
Impactful Individual

Relationship calendar with simple facts table not showing date

Can someone please explain me why this relationship isn't working?
 
I have a calendar table with:
 
ADDCOLUMNS(
CALENDARAUTO(),
...
)

Which contains a date column related to "Document date" in Table1. Both columns are "Date" type (also tried with Date/Time).

 

I get the following table:

enter image description here

 

The first column is "Date" from the Calendar table. All other columns are from Table1.

Why is "Date" empty?

 

enter image description here

3 REPLIES 3
synergised
Resolver II
Resolver II

Looks like your "Document Date" is datetime in this example.  Most likely your date table is only date or a datetime with the time set to 00:00:00.  It is not matching because of the time component.

 

30-06-2019 00:00:00   vs   30-06-2019 23:59:59

 

Also, you might want to have a 1 to M relationship.

Hi @synergised 

Thanks for helping, but has mentioned before, I've tried with date also.

Have a look here:

https://drive.google.com/file/d/1MgPZqOyl5SesHA3KRXP6KMdDPaQIH3Mp/view?usp=sharing

 

Your relationship is using "Posting Date" instead of "Document Date"

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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