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 relationship between two tables, one of which is a date table. I wrote a measure as follows:
Open Tasks =
CALCULATE(
[Number of Tasks],
TaskSet[Status]="Open",
USERELATIONSHIP(TaskSet[Due Date], DateTbl[Date])
)
However when I use the date field as the axis it appears blank (see image below) despite there being data in the 'due date' field. Anyone know what could be tripping this up?
Are you using a Date Hierarchy? Try clicking Expand ALL - what happens then?
Those are the down arrow buttons in the top left corner of the chart.
Also try switching to Date instead of the Date Hierarchy?
I did all of the things you suggested and still no luck.
Any chance you can upload a stripped down version of the file so we can try a few things?
Unfortunately not, stripping it down wouldn't be feesible.
Hi @RE,
What is the original format of date values in TaskSet[Due Date] and DateTbl[Date]? Could you please share sample data of your tables which I can test with?
Thanks,
Lydia Zhang
Something to check first is to double check the datatypes used by both Date columns and make sure they are the same?
Other than that can you post a small amount of data showing the two tables? Will make it easier to recreate to suggest ideas.
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 |
---|---|
96 | |
93 | |
83 | |
70 | |
65 |
User | Count |
---|---|
118 | |
106 | |
93 | |
79 | |
72 |