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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
dhineshlee_2528
Frequent Visitor

DAX Calculation

 

Hi 

 

I am working in building a TOP DOWN for  a finance company

Input CSV has few column names like Account_No,Year,Month,Credit,Debit

With this we need to calculate closing balance

CLOSING BALANCE= Opening Balance + (Abolute of Debit amount -Absolute of credit amount)

we have credit and debit but we dont have opening balance(In table)

OPENING BALANCE =Previous months closing balance

For EX: Lets consider Opening Balance of january is 0, we can find the closing balance of january .

So now Closing Balance of january is openning balance of Febuary

**I have attatched a image representing the same****

Can we do this calculation in power Bi using DAX?

 

Here i have 150 Account ID ,each has 12 months ,for each month we need to find closing balance wrt Account IDCLosing bal opening balance.png

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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

Top Solution Authors