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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
lastnn30
Post Patron
Post Patron

Date only or Time only

Hi 

I have a column which has the date and time. I want to have date only or time only. In power Query, I see that can be achived using 2 ways? Which on is the correct one? Please see screenshot below:

 

SNAG-1044.jpgSNAG-1043.jpg

2 ACCEPTED SOLUTIONS
Mahesh0016
Super User
Super User

@lastnn30  Good Morning,

>> you should go with First screen Shot Way it is better.


 

**If this post helps, please consider accept as solution! Appreciate your Kudos !! to help other members find it more quickly.

View solution in original post

Anonymous
Not applicable

Hi  @lastnn30 ,

In the first screenshot, you can follow the functions provided above to find the year, month, and day of different conditions.

 

For example, Year: Year – Start Year -- End of Year.

vyangliumsft_0-1672374006864.png

If you want to format Date and Time directly, you can use the second one directly

Right-click the column – Change Date – Date/Time

vyangliumsft_1-1672374006867.png

Refer to:

Power BI Date Formatting | How to Change Date Format in Power BI? (wallstreetmojo.com)

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi  @lastnn30 ,

In the first screenshot, you can follow the functions provided above to find the year, month, and day of different conditions.

 

For example, Year: Year – Start Year -- End of Year.

vyangliumsft_0-1672374006864.png

If you want to format Date and Time directly, you can use the second one directly

Right-click the column – Change Date – Date/Time

vyangliumsft_1-1672374006867.png

Refer to:

Power BI Date Formatting | How to Change Date Format in Power BI? (wallstreetmojo.com)

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Mahesh0016
Super User
Super User

@lastnn30  Good Morning,

>> you should go with First screen Shot Way it is better.


 

**If this post helps, please consider accept as solution! Appreciate your Kudos !! to help other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors