I can use below JQL to calculate and display the result:
project = [project_key] AND issueFunction in aggregateExpression("Total Estimate for all Issues", "originalEstimate.sum()", "Total Time Spend", "timespent.sum()", "Total SP", "storypoints.sum()")

However, after I save below code as common filter, eg, calculator_aggregated_effort
issueFunction in aggregateExpression("Total Estimate for all Issues", "originalEstimate.sum()", "Total Time Spend", "timespent.sum()", "Total SP", "storypoints.sum()")
Then I call:
project = [project_key] AND filter = "calculator_aggregated_effort", above calculation can't display, does anyone know this issue?