Why does my daybook show fewer rows than my model?
A three-line ledger example for checking whether a Power BI paginated report grouped transactions.
Article archive date
Start with three journal lines
Two journal lines can share a voucher and an amount. If your report groups by voucher, both can roll up into a single row. Reproduce the behaviour with a small CSV sample before changing the real report.
| Line ID | Voucher | Debit |
|---|---|---|
| 101 | JV-042 | ₹500 |
| 102 | JV-042 | ₹500 |
| 103 | JV-043 | ₹250 |
Import the CSV into Power BI as a table named Daybook. Set Debit to a whole number, then run this query against the sample model.
EVALUATE
SUMMARIZECOLUMNS(
Daybook[Voucher],
"Total Debit", SUM(Daybook[Debit])
)
Compare the row count and total
The query returns two rows. JV-042 accounts for ₹1,000 and JV-043 accounts for ₹250. The original three rows still contribute to the ₹1,250 total.
To produce a transaction-level dataset for this example, include Daybook[LineID] in the grouping or select the original rows with SELECTCOLUMNS.
EVALUATE
SELECTCOLUMNS(
Daybook,
"Line ID", Daybook[LineID],
"Voucher", Daybook[Voucher],
"Debit", Daybook[Debit]
)
The transaction-level result has three rows and the same ₹1,250 debit total.
Check where the real count changes
- Compare the model and dataset under the same filters and user context.
- Run the paginated report’s dataset query away from the report layout. Check for grouping, filters and any subtotal rows.
- If the dataset has the expected rows, inspect the tablix detail group and report filters.
- Compare the debit total as well as the count. A matching total with a lower count gives you a concrete reason to inspect grouping first.