To have total pages, you can do two options:
![](https://i1.wp.com/ask.osify.com/files/2019/10/image.png?resize=437%2C157&ssl=1)
- On view using $V{PAGE_NUMER} flexible using evaluation time: current page with “Now”, total page with “Report”
- Create a variable for total page
- Name: TOTAL_PAGES (or any other)
- Variable class: Integer
- Calculation: highest
- Reset type: report
- Increment type: page
- Variable expression: ${PAGE_NUMBER}
![](https://i2.wp.com/ask.osify.com/files/2019/10/image-1.png?resize=485%2C333&ssl=1)
Then you can use on report in the field.
Known Issues:
- When using with Print Expression, it won’t do pre-calculate