Hi @mcoman ,
I don’t believe that you can use the calculated variable results in the report schema filters because the values have not been computed yet.
One idea would be to add the critieria $AgeTot03>0 on the VisibleExpr of the sections that you want to hide. You can use the ProcessOrder on variables and sections to control when they are evaluated.
Set the Process order for the sections you want to hide = WhilePrint.
The default setting for the variables is that they are calculated WhileRead.
This should ensure that the $AgeTot03 value is calculated before it is evaluated in the visibility expression. I tested this and it seemed to work.
Another thought would be instead of a report, to make this a dynamic screen. In that case you could base it off of the AR-CustomerDetails generic inquiry, which is part of the AR Clerk dashboard in the SalesDemo dashboard customization package. With a generic inquiry you can apply a filter to the customer totals as is the case on that dashboard.
Hope this helps!
Laura