Forum

Notifications
Clear all

NextMonth

4 Posts
2 Users
0 Reactions
64 Views
(@mgaindahotmail-com)
Posts: 8
Active Member
Topic starter
 

Hi

I can use the following measure  to display the current month

CurrentMonth = Format(TODAY()+1, "MMMM")

but how do I display next Month?

Best Regards

Mo

 
Posted : 02/11/2019 2:21 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Mo,

if this is in a calculated column based on the Date column of Table1, then:

=DATE(YEAR(Table1[Date]),MONTH(Table1[Date])+1,DAY(Table1[Date]))

If you want it in a measure based on today's date, then:

=FORMAT(DATE(YEAR(TODAY()),MONTH(TODAY())+1,DAY(TODAY()),"MMMM")

Mynda

 
Posted : 02/11/2019 10:55 pm
(@mgaindahotmail-com)
Posts: 8
Active Member
Topic starter
 

Thanks Mynda

The measure I require is based on today's date.

I tried the code you suggested but I get the following error.

NextMonth.PNG

 

Mohinder

 
Posted : 05/11/2019 5:55 am
(@mynda)
Posts: 4761
Member Admin
 

Sorry, missing parenthesis after DAY:

=FORMAT(DATE(YEAR(TODAY()),MONTH(TODAY())+1,DAY(TODAY())),"MMMM")

 
Posted : 05/11/2019 6:01 am
Share: