Thank you guys so much, both ways worked out! Yes, I'm using Oracle as my data source. I tested SELECT Field1, Field2, (SELECT COUNT(Field1) FROM table) AS "TotalRows" FROM table and SELECT Field1, Field2, COUNT(Field1) OVER (PARTITION BY 1 ORDER BY 1) "TotalRows" FROM table with success. So, to avoid repeating the execution, I'll stick with the second suggestion. And I edited my textField expression as ((Integer)($F{TotalRows}-$V{REPORT_COUNT}+1)).toString(), getting me a regressive counting. I'm grateful for the time and knowledge shared. Interesting solution, because I won't need an additional dataset. I didn't know those notations, gonna do some research on them.