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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors