Forum Discussion

RE's avatar
RE
Helper I
9 years ago

Date Table Not Rendering On Axis

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? 

 

 

6 Replies

  • Phil_Seamark's avatar
    Phil_Seamark
    Microsoft Employee

    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.

  • Sean's avatar
    Sean
    Community Champion

    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?

    • RE's avatar
      RE
      Helper I

      I did all of the things you suggested and still no luck. 

      • Phil_Seamark's avatar
        Phil_Seamark
        Microsoft Employee

        Any chance you can upload a stripped down version of the file so we can try a few things?