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
PBI_newuser
Post Prodigy
Post Prodigy

How to rollover the last date of the month to the first date of next month

Hi,

I would like to create new date column to rollover all the last day of the month to first date of next month.

How to do this?

For example: 

Date_OldDate_New
31/3/20201/4/2020
30/6/20201/7/2020
23/7/202023/7/2020
14/8/202014/8/2020
1 ACCEPTED SOLUTION
pranit828
Community Champion
Community Champion

HI @PBI_newuser 

Craete a new column as below

Date_new = IF(table'[date_old] = EOMONTH(table'[date_old]),table'[date_old]+1,table'[date_old])





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

View solution in original post

1 REPLY 1
pranit828
Community Champion
Community Champion

HI @PBI_newuser 

Craete a new column as below

Date_new = IF(table'[date_old] = EOMONTH(table'[date_old]),table'[date_old]+1,table'[date_old])





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

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.