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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.