This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I want to create a column that will display the next value. For example, Beginning Balance of 8/25/2025 should be Ending Balance of 8/22/2025, and so on.
Solved! Go to Solution.
Hi @Anonymous
try NEXT DAX function in visual calculation.
Ending Balance = NEXT([Begining Balance])
please find microsoft link below:
https://learn.microsoft.com/en-us/dax/next-function-dax
Please give kudos or mark it as solution.
Thanks and Regards,
Praful
Hi,
You have not shared complete information. How should closing balance be calculated? Share some data to work with and show the expected result. Share data in a format that can be pasted in an MS Excel file.
Hi @Anonymous,
Thank you for reaching out to the Microsoft fabric community forum. Also, thanks to @Ahmedx, @Praful_Potphode, @bhanu_gautam, for those inputs on this thread. I reproduced the scenario again, and it worked on my end. I used it as sample data and successfully implemented it.
outcome:
I am also including .pbix file for your better understanding, please have a look into it.
Hope this clears it up. Let us know if you have any doubts regarding this. We will be happy to help.
Thank you for using the Microsoft Fabric Community Forum.
Hi @Anonymous,
Just checking in to see if the issue has been resolved on your end. If the earlier suggestions helped, that’s great to hear! And if you’re still facing challenges, feel free to share more details happy to assist further.
Thank you.
Hi @Anonymous,
Just wanted to follow up. If the shared guidance worked for you, that’s wonderful hopefully it also helps others looking for similar answers. If there’s anything else you'd like to explore or clarify, don’t hesitate to reach out.
Thank you.
Hi @Anonymous
try NEXT DAX function in visual calculation.
Ending Balance = NEXT([Begining Balance])
please find microsoft link below:
https://learn.microsoft.com/en-us/dax/next-function-dax
Please give kudos or mark it as solution.
Thanks and Regards,
Praful
@Anonymous , Try using
DAX
Beginning Balance =
VAR PrevDate =
CALCULATE(
MAX(Balances[Balance Date]),
FILTER(
Balances,
Balances[Balance Date] < EARLIER(Balances[Balance Date])
)
)
RETURN
LOOKUPVALUE(
Balances[Ending Balance],
Balances[Balance Date], PrevDate
)
Proud to be a Super User! |
|
Earlier function not working
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 32 | |
| 31 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 66 | |
| 56 | |
| 31 | |
| 27 | |
| 22 |