I want to remove a few aggregations which appear in the fields window. such as “Sample StDev”,”Population StDev”. I know how to remove from the context menu using customizeContextMenu() . But need help to remove aggregation submenu from fields and from every other place where the aggregation is available.
So can you please tell is there any workaround.
Thank you for your question.
Sample StDev and
Population StDev aggregations can be removed from the list using
availableAggregations approach: https://www.flexmonster.com/api/slice-object/. You can define the list of aggregations which is supported for each measure: https://jsfiddle.net/flexmonster/tp80euuq/.
In case you need totaly disable aggregation drop-down, please use showAggregations options property: https://www.flexmonster.com/api/options-object/.
Let us know if everything works fine for you.