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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
naigen
Frequent Visitor

Remove Timestamps from Calendar Date - GetPivot on Excel

Hi all,

I'm currently building a model on excel that will allow me to reference a date column in a powerpivot using some excel formulas. 

the data is imported via powerquery and dax within excel.

so below is a example of data from the pivot table of the number im trying to bring in:

naigen_0-1655286558927.png

However when i try refrencing the table it has the below date format:

naigen_2-1655286770041.png

ideally what should be in the yellow column is: "01/03/2022"

When I look into the data model the date has a timestamp!

naigen_3-1655286887375.png

As you can see from the above this calender date includes a timestamp.

 

I'm not sure what I can do to get rid of the timestamp.

 

ideally I want to be able type a date into excel such as "01/03/2022" use the GET PIVOT function to refrence that date.

 

any help would be greately appreciated as I am unable to find anything on the web about this subject

 

 

1 REPLY 1
v-yalanwu-msft
Community Support
Community Support

Hi, @naigen ;

Try it.

1.Click the Home tab

vyalanwumsft_0-1655711678749.png

2.In the Number group, click on the drop-down

vyalanwumsft_1-1655711698535.png

3.Select Short date (or Long Date) – based on how you want the date to be displayed.

vyalanwumsft_2-1655711718993.png

https://trumpexcel.com/remove-time-from-date-in-excel/


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.