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.
I have a table Date with column Date - where all dates are listed.
Then I have a table with worklogs - each worklog has date, for which it is done.
When I make a relationship between these 2 tables using these date/time columns, the date field in worklogs table breaks and is not recognized as date/time field in existing DAX expressions.
Attached images, how it looks like after the relationship has been made. Interesting detail is, that this happens even, if the relationship is not active.
Solved! Go to Solution.
Thank you for answer!
In both tables column was formatted as Date/time (time doesn't appear, because in the source, worklogs don't have time, just date). While I didn't made a relationship, everything was ok.
The solution, was simply remove in DAX statements .[Date] part for worklog date. Then everything is ok.
Not sure, why relationship broke it, but removing .[Date] (which was ok, while there was no relationship) after making a relationship, solved the problem.
@sandra_p , this does not have time. The relation with the date table should work.
Or you need have the only date column
Date 1 = Table[Date time].date
Join it with date calendar
Thank you for answer!
In both tables column was formatted as Date/time (time doesn't appear, because in the source, worklogs don't have time, just date). While I didn't made a relationship, everything was ok.
The solution, was simply remove in DAX statements .[Date] part for worklog date. Then everything is ok.
Not sure, why relationship broke it, but removing .[Date] (which was ok, while there was no relationship) after making a relationship, solved the problem.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
97 | |
81 | |
77 | |
66 |
User | Count |
---|---|
126 | |
105 | |
103 | |
81 | |
72 |