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
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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.