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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors