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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
RE
Helper I
Helper I

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? 

 

date axis blank.PNG

 

6 REPLIES 6
Sean
Community Champion
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?

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?


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Phil_Seamark
Employee
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.


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.