Top values

Hi guys! I need your help. I need to show in my histogram or bar chart only top the most occurrences value. How can I do it. Thanks!

Hello,

What about filter them before printing the histogram?

Thank you for your answer! But I did it by group by node:)

Hi @PrivetPoka
yes the groupby node is the best way to do this.

First groupby than sorting and finally filter the top k only.

Instead of sorting + row filter you can also try the Element Selector from here
https://hub.knime.com/knime/nodes/Element_Selector*PjtMg0VEXswXR5Uk

Cheers, Iris

Iris, it would be nice to mention in Element Selection node that data type it selects. Because it does not support strings order.

1 Like