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
lost_flower
Helper III
Helper III

Next months

Hi,

I have two columns, Date and the numbers of month. I want to calculate a next month column.

Example: Date 01.01.2023 plus 2 months = 01.03.2023

 

DateMonth    Next months
01.01.2023   2   01.03.2023
01.05.2023   3   01.08.2023
01.10.2023   5   01.02.2023

 

I tried NEXTMONTH(), but this does not work because of mutiple values. Is there a way to get the next months without multiplying with 30?

 

Appreciate any ideas. Thanks

2 ACCEPTED SOLUTIONS
tamerj1
Super User
Super User

Hi @lost_flower 
Please try

EDATE ( [Date], [Month] )

View solution in original post

KeyurPatel14
Resolver IV
Resolver IV

Hi @lost_flower ,
You can use EDATE() DAX Function to solve your problem.
If this helps then please give it a kudos and mark it as a solution.
Thank you.

View solution in original post

3 REPLIES 3
KeyurPatel14
Resolver IV
Resolver IV

Hi @lost_flower ,
You can use EDATE() DAX Function to solve your problem.
If this helps then please give it a kudos and mark it as a solution.
Thank you.

tamerj1
Super User
Super User

Hi @lost_flower 
Please try

EDATE ( [Date], [Month] )

Ohhhh, it works. Thank you, my BI hero 😁

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.

Top Solution Authors