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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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