Thank you for your answer. Unfortunately, it does not fit my problem.
The stranger thing about this problem it's that this only happen with some attributes. Imagine one field that in a table visualization has 5 possible values. When this field is in controls, only one possible value appears, which is the one with more documents. Even changing the size, in the dynamic options or in the kibana settings, nothing changes. I think that probably it can be related to the dispersion of the data in this field, or the first indexed documents are related with the only option that appears.
Do you know something else I can do?
Thank you!