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
In my data-table I have one column for Incoming balance, one column for change and one column for Closing balance. As you can see below for AccountNumber 1070, the closing balance of 2018 is the same as the incoming balance for 2019. This happens because my transaction table returns incoming balance and closing balance for every change that occurs on all accounts.
But for 2020 there has not been registered any movement on the specific accountnumber, thus there is no transactions on that specific account in my table and the incoming balance for 2020 is empty. How can I make a DAX-expression that returns the last registered value for all accounts as incoming balance?
I.e. let's say the change in 2020 equals 100.000, the closing balance of 2020 would be 381.435 and it should be returned as incoming balance for 2021.
Let me know if you want more information!
Show your measure.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |