cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vannikannan Regular Visitor
Regular Visitor

Date table is not filtering the related table

Hi all,
 
I have created the date Table and related the date column of date table to dateofpurchase column of Purchase table.
And marked Date as Date table and data type of the date column and dateofpurchase column to Date.
But when i try to filter the data from dateofpurchase column ,date column in date table is dispalying the blank values even though both the tables are related.
I am not getting what step I have missed out.
Screenshot (94).png
Kindly help on this.
 
Thanks
Vannikannan.k
5 REPLIES 5
Super User
Super User

Re: Date table is not filtering the related table

Couple possibilities. One, check your filter direction on your relationship to make sure it is the right direction. Second possibility is that one of your dates contains time stamps that are other than midnight. True date only columns have a time component that is 0, which is midnight but if your dates in your fact table have a real time component other than midnight, they won't match up.


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!


Super User
Super User

Re: Date table is not filtering the related table

@vannikannan Please use "Cross Filter Direction" as "Both" in your Data Model


Did I answer your question? Mark my post as a solution !

Proud to be a Datanaut !





Community Support Team
Community Support Team

Re: Date table is not filtering the related table

Hi vannikannan,

 

As mentioned above, this may caused by something wrong with your table relationship. Could you share some screenshots of your table structure and relationship?

 

Regards,

Jimmy Tao

vannikannan Regular Visitor
Regular Visitor

Re: Date table is not filtering the related table

Hi All,
 
Thanks for the reply I have used Crossfiltering and changed the Data type of the Dateofpurchase from Date/Time to Date even though I am not getting the data filtered.
Because I  have data in Dateofpurchase column like 19-01-2017 15:40:05,19-01-2017 15:44:31 where as Data of my date table has 19-01-2017 00:00:00.
So when I try to filter the data using the date table even after changing the datatype from date/time to date its not happening.
Is there any solution to handle the time.

Thanks
Vannikannan.k
Community Support Team
Community Support Team

Re: Date table is not filtering the related table

Hi vannikannan ,

 

After you change Date/Time to Date type, can you build relationship between the two tables? If still can't, you may create a calculate column use 

Result = Format(Table[Column],"MMYY")

Or 

Result = Date(Table[Column])

 

Regards,

Jimmy Tao