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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
wilson_smyth
Post Patron
Post Patron

Why does powerbi desktop append 00:00 to my date field?

In my date dimension i have a Date column. In the database this is just a date, not a date time. When i try to filter based on this date column in powerBIDesktop however, i have to select 00:00:00 as the time or i get no values back. PowerBIDesktop is appending on a time value that shouldnt be there and doesnt exist. - why is this added? - is there a way I can disable it? Note, i tried using a string version of the date, but it is sorted incorrectly in the powerBIDesktop filter panel. its sorted correctly in the tabular database but PowerbiDesktop ignores this.

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

Edit your query, select the column and switch it to "Date" versus "Date/Time". This is the "Data Type" in the Transform area of the ribbon.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

Edit your query, select the column and switch it to "Date" versus "Date/Time". This is the "Data Type" in the Transform area of the ribbon.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

im not using power query, im querying the data model directly.

I'm not understanding what you are saying here. You are using Power BI Desktop, correct? When you create your query in Power BI Desktop (which is basically "Power Query" in Excel terminology), instead of just next, next finishing your way through, enter the path to your data source, choose "Edit" button that appears in bottom right of the preview window. Then, you can choose your column and set the data type as described. Then choose "Close & Apply" from the ribbon.

 

If you already have your query created, then on your "Home" tab, you can click "Edit Queries" in your "External Data" area of the ribbon and do the same thing.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.