Can't use average agg on number lower than 1

I have a field pctr which values are all between (0,1).
But i can't use average agg on pctr in visualize

Most likely the pctr field is mapped as an integer field, so everything after the decimal point isn't saved to the index. Change the type in the mapping to float or double and re-index your data.

But on the discovery page, the pctr shows as double.By the way, pctr use dynamic mapping.

Can you show us the mapping?

Thank you.It works now.
I forgot refresh index after changing mapping.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.