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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.