Skip to main content

Hi there,

 

is there any way how to automatic connect all features from AttributeFilter with (each) StatisticCalculator?

or maybe any other Idea?

I do not want to do it manualy, because the AttributeFilter has about 400 features.

 

Thanks

You would be better using a single statistics calculator with a group by. Instead of an attributefilter, have an attributecreator that creates those filter groups to use in the stats calculator


You would be better using a single statistics calculator with a group by. Instead of an attributefilter, have an attributecreator that creates those filter groups to use in the stats calculator

Hi, the thing is that I need to get a sum of each feature separate, that´s why I wanted to do it separately. Or is this possible to achieve it also other way?

Maybe I just do not understand how do you mean this. can you more explain what is here to do?

Thanks


Hi, the thing is that I need to get a sum of each feature separate, that´s why I wanted to do it separately. Or is this possible to achieve it also other way?

Maybe I just do not understand how do you mean this. can you more explain what is here to do?

Thanks

The Group By option in the StatisticsCalculator when set will only sum together features that are in the same group. So you will get a different total per group

A simple workspace example

stats_group_by.fmw


The Group By option in the StatisticsCalculator when set will only sum together features that are in the same group. So you will get a different total per group

A simple workspace example

stats_group_by.fmw

Amazing! It has worked perfect!

Thanks a lot, you saved me a lot of time!


Reply