I have added a custom function alias, pxYearNumber, in pyGetFunctionAliasesForDataViewsExtension, and it appears correctly in the Calculations list within Insights.
However, when I use this calculation in Columns or Promoted Filters, I receive the following error:
“Calculations should contain only supported functions.”
The out-of-the-box calculations/functions provided by Pega work as expected, and the issue occurs only with the custom function alias(even with OOTB function alias or newly created).
Has anyone successfully used a custom function alias in Insights calculations? Are there any additional configurations or validation rules that need to be updated so that the function is recognized as a supported function in Columns and Promoted Filters?
Any guidance would be appreciated.
Thanks.