cancel
Showing results for
Did you mean:
Highlighted
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

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))``````

Or:

``````today = TODAY()

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

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.
3 REPLIES 3
Highlighted
Super User I

Re: DAX Function Next Month

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

So

``DATEADD(TODAY(),+1,MONTH) ``

Quality over Quantity

Proud to be a Super User!

Highlighted
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))``````

Or:

``````today = TODAY()

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

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.
Highlighted
Helper I

Re: DAX Function Next Month

Perfect.

Works !

Announcements

Power Platform Community Conference

Check out the on demand sessions that are available now!

Experience what’s next for Power BI

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

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021