cancel
Showing results for
Did you mean:
Helper V

## Make End of Month Value equal beginning of next month's value

I have two measures: starting and ending. I need the Ending value of January to equal the starting value of February, and so on. Is there a way to write this?

1 ACCEPTED SOLUTION
Community Support

You can try these methods.

2 Use this Measure

``end = DATE(YEAR(SELECTEDVALUE(DateTable[Date])),MONTH(SELECTEDVALUE(DateTable[Date]))+1,1)``

The result looks like this:

For more details, you can refer the attached pbix file.

Best Regards,

Caiyun Zheng

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

3 REPLIES 3
Community Support

You can try these methods.

2 Use this Measure

``end = DATE(YEAR(SELECTEDVALUE(DateTable[Date])),MONTH(SELECTEDVALUE(DateTable[Date]))+1,1)``

The result looks like this:

For more details, you can refer the attached pbix file.

Best Regards,

Caiyun Zheng

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helper III

Using the calendar table, can the starting day of the month be -1 from the previous day i.,e.(first day -1).

Basically something like this (01/02/2021 - 1 = 31/01/2021). And use that value for the measure

Super User IV

@bhmiller89 , check out the function openingbalancemonth

Proud to be a Super User!

Announcements