Dear visitor, despite the COVID-19 outbreak, our team continues operating at full speed.

Also, here is the form where you can apply for a special discount and we will contact you with possible options. Stay safe and continue achieving your business goals.

Fill the form
Get Free Trial
Get Free Trial

Lock a column value to only allow "average"

Answered
David Chen asked on April 26, 2016

How to I do this?
Whenever someone drag this # column value, it only shows average, and it disable all others (sum,count, etc…)
jsfiddle please

2 answers

Public
Ian Sadovy Flexmonster April 26, 2016

Hello David,
 
Please use measure’s “availableAggregations” property for this.
JSFiddle – https://jsfiddle.net/iansadovy/ojgt5z3e/ (see lines 14-21).
 
Regards,
Ian

Public
Tanya Gryshko Flexmonster December 7, 2016

Hello David and all Flexmonster users,
Check the updated sample for version 2.3: https://jsfiddle.net/flexmonster/tp80euuq/.
Regards, Tanya

Please login or Register to Submit Answer