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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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