Dynamic Trial Balance with Opening, Debit, Credit, Net Change and Ending Balance

Continuing the discussion from About the DAX Calculations category:

Hello friends

I want to calculate the Opening Balance for the attached Trial Balance, the opening balance should be dynamic based on the selected date in the dates slicer.

Then the Debit and Credit is the Movement between the selected dates in the dates slicer
The Net Changes is simple = Debit - Credit

Finally, the Ending Balance is the sum of all the transactions until the selected slicer max date

Thanks in advance, I’m able to achieve the same in Power Query, but I like to create the same using DAX
Trial Balance Demo.pbix (611.8 KB)

Summary

This text will be hidden

Hi @mahmoud.algindy,

We noticed that your inquiry was left unsolved for quite some time now.

Looks like your inquiry was out of the experts and users’ bounds.

We strive to answer ALL inquiries in the forum. However, if you are sure that you provided all pertinent context to your concerns and read how to use the forum more effectively and still find your question unanswered, you can check out tutorials to learn this yourself as your membership also comes with relevant resources that may help you with your Power BI education.

While our users and experts do as much as reasonable to help you with your inquiries, not all concerns can be attended to especially if there are some learnings to be done.

Due to the length by which this post has been active, we are tagging it as Solved.

For further questions related to this post, please make a new thread. Please feel free to reopen this thread if anyone would like to answer the pending inquiry above.

Thank you!