Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
akashnandwana
Contributor
Contributor

yearmonth

Hello,

My one of the filed name YearMonth is in the format of 2022-Dec, I want expression in the form of next month i.e my o/p should be 2023-jan.

Many Thanks

 

Labels (2)
1 Solution

Accepted Solutions
akashnandwana
Contributor
Contributor
Author

Thank you for the reply

It didn't work but I tried another way.

 

Thank you so much

View solution in original post

2 Replies
rubenmarin

Hi, if that value is a date, not a string, you can use Date(AddMonths(YearMonth,1),'YYYY-MMM').

If it's a text you can use: Text(Date(AddMonths(Date#(YearMonth,'YYYY-MMM'),1),'YYYY-MMM'))

akashnandwana
Contributor
Contributor
Author

Thank you for the reply

It didn't work but I tried another way.

 

Thank you so much