Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello,
I have created a custom rolling_calendar table and have a relationship to my other table ChildJobs which has dates coming in from JobFinishDates. I put together a table using my JobFinishDates date and rolling_calendar date hierarchy and it isn't applying to all the dates. When I change the relationship from childjobs to jobfinishdates it behaves the same.
I created measures to make so that my dates are inline and they are, I've confirmed that the format for all date columns is the same.
Solved! Go to Solution.
You have values displayed that include a TIME element. Therefore I kind of assume that it is a Date/Time data type.
I don't care about formatting. I care about data TYPE. You can have a DATE/TIME data time and value of "1-Jan-22 12:34PM" but then FORMAT it as a DATE so it shows up and is displayed as "1-Jan-22". But under the covers that time element is still there. And any TIME other than 12:00 AM will NOT match to a pure DATE data type.
What are the DATA TYPES of the columns?
Proud to be a Super User! | |
You have values displayed that include a TIME element. Therefore I kind of assume that it is a Date/Time data type.
I don't care about formatting. I care about data TYPE. You can have a DATE/TIME data time and value of "1-Jan-22 12:34PM" but then FORMAT it as a DATE so it shows up and is displayed as "1-Jan-22". But under the covers that time element is still there. And any TIME other than 12:00 AM will NOT match to a pure DATE data type.
What are the DATA TYPES of the columns?
Proud to be a Super User! | |
Thank you ToddChitt for having me review those, the table that I am Splitting into the ParentJob and ChildJob had DATE/TIME where my ChildJobs, and JobFinishDates had DATE and that was the issue. Much appreciated
Can you show us some sample data from both the custom rolling dates table, and the table it is related to?
Can you verify that 4-Oct -22 is or is not in the dates table.
Are both columns in the relationship actual DATE types (hint: i.e.: NOT date/time fields with a date format)?
Proud to be a Super User! | |
Rolling_Calendar
ChildJobs table
JobFinishDates related to ChildJobs
I created Measures to confirm the date ranges are covered.
All Date columns in all tables are formatted as
Thanks,
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 39 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |