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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

New Column

marbi_0-1761209022108.png

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.

2 ACCEPTED SOLUTIONS
Praful_Potphode
Super User
Super User

Hi @Anonymous 

 

try NEXT DAX function in visual calculation.

  • You can create Visual calculation by selecting the table visualization.
  • CLick on New Visual calculation
  • under Home Tab and Select Custom
  • Type Below measure
Ending Balance = NEXT([Begining Balance])

Praful_Potphode_0-1761217425170.png

 

Visual Calculation 

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

View solution in original post

Ahmedx
Super User
Super User

8 REPLIES 8
Ashish_Mathur
Super User
Super User

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.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-kpoloju-msft
Community Support
Community Support

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:

vkpolojumsft_0-1761224135407.png

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.

Ahmedx
Super User
Super User

pls try

Screenshot_3.pngScreenshot_4.png

Praful_Potphode
Super User
Super User

Hi @Anonymous 

 

try NEXT DAX function in visual calculation.

  • You can create Visual calculation by selecting the table visualization.
  • CLick on New Visual calculation
  • under Home Tab and Select Custom
  • Type Below measure
Ending Balance = NEXT([Begining Balance])

Praful_Potphode_0-1761217425170.png

 

Visual Calculation 

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

bhanu_gautam
Super User
Super User

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




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Anonymous
Not applicable

Earlier function not working

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.