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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
KushGupta123
Frequent Visitor

Date Table not working

I created the data table using "List.Dates(#date(2022,1,1),365,#duration(1,0,0,0))". I connected the date table to the table I wanted to filter. Both of them have same data types and same date format. Still I am not able to filter out the data when I am using date field from the date table I created. What can be the issue here ?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @KushGupta123 ,

 

DimTable:

vcgaomsft_0-1673589643364.png

FactTable1:

vcgaomsft_1-1673589805124.png

FactTable2:

vcgaomsft_2-1673589829867.png

relationships:

vcgaomsft_4-1673589934734.png

 

1. Please check that each value in the date column of the fact table can be found in the dimension table.

vcgaomsft_3-1673589901022.png

 

2. If the date column in the fact table is of type date/time and the time part is not 12:00:00AM, although the relationship is displayed normally, it cannot be filtered correctly.

vcgaomsft_5-1673590146448.png

You might consider creating another column of dates in the fact table to connect to the dimension table.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

4 REPLIES 4
HotChilli
Super User
Super User

And this shows you don't have matches.

I don't really have time to go back and forth on this.  If you can investigate and progress this then, great, otherwise link your pbix and i'll have a look.

HotChilli
Super User
Super User

Difficult to say without having the pbix.

Try putting the date field from both tables in a table and see if there are matches.

--

The relationship dialog will show you the count of matches (it states it at the the bottom of the screen) so check that first.

You can investigate from there.

@HotChilli I tried doing it by putting date from dim_date table and dttm from my fact table and got a strange view

 

 

d and.PNG

Anonymous
Not applicable

Hi @KushGupta123 ,

 

DimTable:

vcgaomsft_0-1673589643364.png

FactTable1:

vcgaomsft_1-1673589805124.png

FactTable2:

vcgaomsft_2-1673589829867.png

relationships:

vcgaomsft_4-1673589934734.png

 

1. Please check that each value in the date column of the fact table can be found in the dimension table.

vcgaomsft_3-1673589901022.png

 

2. If the date column in the fact table is of type date/time and the time part is not 12:00:00AM, although the relationship is displayed normally, it cannot be filtered correctly.

vcgaomsft_5-1673590146448.png

You might consider creating another column of dates in the fact table to connect to the dimension table.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors