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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
PBI-Curious
Resolver I
Resolver I

How to add columns for month and year from dates column

Hello PBI Community Good Day!

 

Need to create month and year columns for the following:

 

Screen shot below.

 

  • closedate
  • createdate
  • lastmodifieddate

 

PBICurious_0-1658329616920.png

Much appreciate your help!

 

Thank you

1 ACCEPTED SOLUTION
PaulOlding
Solution Sage
Solution Sage

Hi @PBI-Curious 

The best practice here would be to create a date table with those columns and split your closedate, createddate & lastmodifieddate into date and time columns in power query (or get rid of the time part if it's not going to be used)

View solution in original post

2 REPLIES 2
PBI-Curious
Resolver I
Resolver I

PaulOlding

Much appreciate your help!

Thank you

PaulOlding
Solution Sage
Solution Sage

Hi @PBI-Curious 

The best practice here would be to create a date table with those columns and split your closedate, createddate & lastmodifieddate into date and time columns in power query (or get rid of the time part if it's not going to be used)

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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