Sum Values Java Function

Hey guys.
In my system there is a register of routines.
For example, the user must execute an activity every 5 days.
The administrator registers the routine informing the initial date that the user must start performing the activity, for example: 11/20/2023.
My system works for periods of 1 year, so let’s assume this ends on 12/31/2023.
I created a java function to count how many routines each user will have to execute by the end of the period.
In the case above, the user will have to register by 12/31/2023: 8.
So far so good.
But now I want to add up how many records all users will need to register by the end of the period.
But the rollup function only returns Count options and not Sum.

image

Any suggestion?

Thank you very much.

Try passing the returned java value through a math column. You may or may not need to multiply by 1. Then the Rollup should work.

1 Like

Thank you so much.
I was tried this, but I didnt multiply by 1.
:expressionless:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.