into my report I need to insert information about page number and total number of pages. As the report is looped by dimension, the page and pages information needs to be put as an expression. Any idea what the expression should be like?
If you want to reset the page count on every change of dimension value, then I think you're out of luck. If all you want is to add the page number and the total number of pages then you can use the standard buttons (first two on the left) on the Header/Footer tab of the Report Settings screen.