cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

DAX Function Next Month

Hey @ all

 

I want create a Function, which plot the next month.

I am currently using the NOW() Funktion.
Any Ideas?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: DAX Function Next Month

Hi @Xneider 

 

Kindly let me know if you'd like to get below one:

Measure 2 = var a = MAX('Table'[Date])
Return
DATE(YEAR(a),MONTH(a)+1,DAY(a))

00.PNG 

Or:

today = TODAY()

Measure 3 = DATE(YEAR([today]),MONTH([today])+1,DAY([today]))

001.PNG

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

3 REPLIES 3
Highlighted
Super User I
Super User I

Re: DAX Function Next Month

 

DATEADD(<dates>,<number_of_intervals>,<interval>) 

 


So

 

DATEADD(TODAY(),+1,MONTH) 

 

 


Quality over Quantity


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


Highlighted
Community Support
Community Support

Re: DAX Function Next Month

Hi @Xneider 

 

Kindly let me know if you'd like to get below one:

Measure 2 = var a = MAX('Table'[Date])
Return
DATE(YEAR(a),MONTH(a)+1,DAY(a))

00.PNG 

Or:

today = TODAY()

Measure 3 = DATE(YEAR([today]),MONTH([today])+1,DAY([today]))

001.PNG

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

Highlighted
Helper I
Helper I

Re: DAX Function Next Month

Perfect.

Works !

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors