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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
LobsterLegend
Frequent Visitor

Ending Values Missing in Account Balance

Table 'GL Account Balances by Date' contains general ledger balances for the entire chart of accounts, with one balance per month.

 

LobsterLegend_1-1656096177658.png

LobsterLegend_2-1656096187126.png

 

However, the source table contains no values when no transactions took place in a given month. Thus, account 1083, for instance, shows no Balance after 3/1/22, even though in reality it still has a Balance of $18,200.

LobsterLegend_3-1656096356012.png

 

All months prior to the month containing the last transaction do populate with zero values, as desired. But 4/1/22, 5/1/22, and 6/1/22 are all missing.

What is the best way to fix this? I see four options:

1. Ignore this system-generated Table and instead create a new one based on a separate Transactions table.
2. Use DAX to create a Measure within the 'GL Account Balances by  Date' Table. I have attempted this but have been unsuccessful, likely because I do not have any blank records available for the Measure to populate.

3. Use DAX to create a brand new Table, joining 'GL Account Balances by Date' with my DATE TABLE. Note this would have to consider every combination of Date, CompanyCode, GLAccountNumber, GLDepartmentCode, and GLSubAccountNumber.
4. Use Power Query to append Balances with a full DATE TABLE, filling down values.

 

Your help is greatly appreciated.

 

 

 

1 ACCEPTED SOLUTION
dhruvinushah
Responsive Resident
Responsive Resident

Hi @LobsterLegend , Don't complicate your requirement. Just create a running total on the Balance Amount. Use the Calendar Date to calculate and display the running total. Use the quick measure option to create a Running total. 

 

Hope this helps!









View solution in original post

2 REPLIES 2
LobsterLegend
Frequent Visitor

Thank you, dhruvinushah. The existence of an Account Balance table in the source SQL database sent me on a wild goose hunt.

dhruvinushah
Responsive Resident
Responsive Resident

Hi @LobsterLegend , Don't complicate your requirement. Just create a running total on the Balance Amount. Use the Calendar Date to calculate and display the running total. Use the quick measure option to create a Running total. 

 

Hope this helps!









Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.