Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello -
I have created a report using PBI builder - to generate a bank statements. All is looking good and one last remaining is:
Balance for each day (this should include ) the balance for that day after substructing the value of the current transaction.
I have the first day balance and the last day balance.
I want to track back from last day of the month to the first day of the month.
How do I construct this?
A measure create on Desktop or a measure create on PBI builder?
Please help!
Thanks
Xhev
Solved! Go to Solution.
Hi @XhevahirMehalla,
You can determine the daily running balance for your scenario by calculating it directly in Power BI Desktop before exporting to Report Builder. This method is generally more dependable and easier to manage than doing the calculation within the paginated report.
If you have the closing balance and need to work backwards from the end of the month, you can set up a measure in your data model as follows:
Daily Balance :=
VAR ClosingBal =
MAX ( 'Balances'[ClosingBalance] )
VAR MovementsAfterDate =
CALCULATE (
SUM ( 'Transactions'[Amount] ),
FILTER (
ALL ( 'Date'[Date] ),
'Date'[Date] > MAX ( 'Date'[Date] )
)
)
RETURN
ClosingBal - MovementsAfterDate
Create this measure in Power BI Desktop and use it directly in Report Builder. It ensures the logic stays consistent and avoids recomputing inside the paginated layer.
Thank you.
Hi @XhevahirMehalla,
Just wanted to follow up and confirm that everything has been going well on this. Please let me know if there’s anything from our end.
Please feel free to reach out Microsoft fabric community forum.
Hi @XhevahirMehalla,
Just wanted to follow up and confirm that everything has been going well on this. Please let me know if there’s anything from our end.
Please feel free to reach out Microsoft fabric community forum.
Hi @XhevahirMehalla,
Just wanted to follow up and confirm that everything has been going well on this. Please let me know if there’s anything from our end.
Please feel free to reach out Microsoft fabric community forum.
Hi @XhevahirMehalla,
You can determine the daily running balance for your scenario by calculating it directly in Power BI Desktop before exporting to Report Builder. This method is generally more dependable and easier to manage than doing the calculation within the paginated report.
If you have the closing balance and need to work backwards from the end of the month, you can set up a measure in your data model as follows:
Daily Balance :=
VAR ClosingBal =
MAX ( 'Balances'[ClosingBalance] )
VAR MovementsAfterDate =
CALCULATE (
SUM ( 'Transactions'[Amount] ),
FILTER (
ALL ( 'Date'[Date] ),
'Date'[Date] > MAX ( 'Date'[Date] )
)
)
RETURN
ClosingBal - MovementsAfterDate
Create this measure in Power BI Desktop and use it directly in Report Builder. It ensures the logic stays consistent and avoids recomputing inside the paginated layer.
Thank you.
@XhevahirMehalla you can use runningvalue function RunningValue function in a paginated report - Microsoft Report Builder & Power BI Report Builder | M...
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 47 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 198 | |
| 126 | |
| 102 | |
| 67 | |
| 50 |