Remove All Calculate Measures
It seems removeAllCalculatedMeasures deletes alternates from the list of formulas
Thank you for reporting the issue with removeAllCalculatedMeasures(). We have reproduced it on our side and will be ready with the fix in the version 2.308 ETA Jan 30.
I am glad to inform you that the minor release 2.308 is available for download now.
You are welcome to update the component.