Forum Discussion
Date Table not working with relationship
- 6 years ago
There appears to be two different places to format data.
When using Get Data and bringing in the initial SharePoint list the Date columns come as Any\Text. I had initially left it like that and made my Date table and joined them. I initally tried changing the data type in the relationship area. That didn't have the desired effect. Only after going back to the Sharepoint list data and modifying the CreatedBy column from Text to Date did it start working.
After making changes do I need to hit a button to see the data?
Nothing. No luck. I have tried various formats and changing the field to date and date\time back and forth. Nothing happens. Is there a debug button or anything?
- ComputerHabit6 years ago
Helper II
Dates appear to be the same.
- vanessafvg6 years ago
Community Champion
what is the date type for the created column? have you got it as date time?
- ComputerHabit6 years ago
Helper II
The query for Sharepoint list has the time stamp. I thought by changing the data type and so on this would work. Do I need to change it in the query instead? I thought that would create to much load time.
- vanessafvg6 years ago
Community Champion
I would convert it as its obviously not working. create a new column only with date values. ie duplicate that column, and then from the transform menu in power query change it to date / then date only to make sure
something is obviously not matching up, make sure they are both only dates not datetime in datatype too
- PaulDBrown6 years ago
Community Champion
Is the relationship linking your Date field from the Date table to the "Created" field in your "Events" table?
- ComputerHabit6 years ago
Helper II
Yes. I'm linking the Date field to the Created field.
- amitchandak6 years ago
Super User
If possible please share a sample pbix file after removing sensitive information.Thanks.
My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970