Forum Discussion
Balance value calculation
- 8 years ago
Hi JimB-GA,
Based on my test, you could refer to below steps:
Sample data:
Create two calculated columns:
a = IF([Type]="Debit",-[Amount],[Amount])
Total running = CALCULATE(SUM(Table1[a]),FILTER('Table1','Table1'[Transaction]<=EARLIER(Table1[Transaction])))
And you could see the result:
You can also download the PBIX file to have a view.
https://www.dropbox.com/s/j4kh8ait0z2f69w/Balance%20value%20calculation.pbix?dl=0
Regards,
Daniel He
Hi JimB-GA,
Based on my test, you could refer to below steps:
Sample data:
Create two calculated columns:
a = IF([Type]="Debit",-[Amount],[Amount])
Total running = CALCULATE(SUM(Table1[a]),FILTER('Table1','Table1'[Transaction]<=EARLIER(Table1[Transaction])))
And you could see the result:
You can also download the PBIX file to have a view.
https://www.dropbox.com/s/j4kh8ait0z2f69w/Balance%20value%20calculation.pbix?dl=0
Regards,
Daniel He
Thanks so much. A perfect solution.
- v-danhe-msft7 years agoMicrosoft Employee
Hi JimB-GA,
Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?
Regards,
Daniel He