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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
campelliann
Post Patron
Post Patron

Slicers not working - Calendarauto table, not filtering date/time format

Hi people,

 

So I have this situation. I created a calendar table and the "Date" in date/time format  is not able to filter in slicers the dates from a fact table. The dates in fact table are also in date/time format and come from a SQL database.

 

Then I went to power query, and changed the date format from the fact table, from date/time to date and it started working.

 

Why is this, and do I need to duplicate columns in the fact table with a date format? Because I also need the hours..

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@campelliann , It always good to have a date without a timestamp.  This can make sure you have a join with other dates easily.

 

Changing format in DAX, do not ensure that DateTime is the only date. It still remains date with time

 

In power query you can get date like

DateTime.Date([Datetime column])

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@campelliann , It always good to have a date without a timestamp.  This can make sure you have a join with other dates easily.

 

Changing format in DAX, do not ensure that DateTime is the only date. It still remains date with time

 

In power query you can get date like

DateTime.Date([Datetime column])

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.