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
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
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.