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.
Hello,
I have a table with payment and receipt details. Payments and receipts can be repeated, but in the table they are added up.
I have a column repeats with the first bank balance.
I would like to know, in an easy way how to get a measure for opening balance with the first value of the bank balance field. And onwards, take the final balances by adding receipts and subtracting payments. There would be two fields, one for opening balance, and ending for previous days, and the other for ending balance for each day. Example:
Below is a file with the same example mentioned in the image for a better understanding and solution.
Regards,
Bruno
Solved! Go to Solution.
Hi,
You may download my PBI file from here.
Hope this helps.
Here is the file with a few tries. The problem is with more than one date, not just one date.
https://1drv.ms/u/s!Avwq0_QZmBwmg-wkuZekbiHKWE0XLg?e=uXfRG4
Regards,
Bruno
What does the Bank Balance column denote? Is 150 (the first entry in the Bank Balance column) the opening balance? Reshare an "easy to understand" dataset. I will not be working off your formulas so please delete your workings. Just let 2 tables remain - Calendar and sheet1.
The bank balance column is the opening balance. It is repeated, but I only need the value once. After filtering the period (which is the current day forward), the opening balance takes this first amount.
Follow link with clean file.
https://1drv.ms/u/s!Avwq0_QZmBwmg-wmA1VNkG1FOgIEzg?e=lbCpse
Regards,
Bruno
Hi,
You may download my PBI file from here.
Hope this helps.
Thanks @Ashish_Mathur. This has helped me a lot. Only in my report only the first week does not work. Only from the second week do the formulas seem to work. Do you have an idea how this can be done?
Hi,
Share some data, explain the question and show the expected result.
Thanks for the reply. Below are the measures I used and the result in a matrix.
Openingbalance = if(ISBLANK([Values]),BLANK(),MIN('Banksaldo'[Amount])+[Values till date])
Values = [Inkomsten]-[Uitgaven]
Values till date = CALCULATE([Values],DATESBETWEEN(Datum[Date],MINX(ALL('Datum'),'Datum'[Date]),MIN(Datum[Date])-1))
Closing balance = [openingbalance]+[Values]
The results are shown per week. The weeks are determined by a date slicer.
I cannot understand anything there. Someone who does will help you.
It was just what I needed. Thanks a lot for the help.
You are welcome.
I sent the wrong formula. In this example the image is correct.
Regards,
Bruno
Hi,
Share the link from where i can download your PBI file.
Hi,
The End Balance on 21/05/2021 should have been -400. Likewise, the opening balance on 22/05/2021 should have been -400. Am i correct?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |