Skip to main content
Question

For StatisticsCalculator with FME2021.1.1.0, how to add a column in the result table for "fme_feature_type" used in Group by?

  • September 29, 2022
  • 3 replies
  • 13 views

webservicessia
Contributor
Forum|alt.badge.img+1

It is to identify the sum of which group. Otherwise, the result is a list of values (for sum) but not possible to identified which value is for each group of features.

3 replies

carmijo
Supporter
Forum|alt.badge.img+11
  • Supporter
  • September 29, 2022

You can add an attributeexposer to expose fme_feature_type before the stat calc

image 

--

If i've provided something helpful, please upvote the comment. If i've provided a solution, please mark it as 'Best Answer'. This helps the community find solutions when your question is referenced.

If I didn't provide a solution, please let me know if I can help further. Thanks! 🙂


webservicessia
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • September 30, 2022

Thank you.

I already tried it and this provided a list of values without the "content" of the Fme_feature_type: ,imageI would like to get something like :

Potatoe : 845

Salad : 1496

 

instead of

 

vegetables :

845

1496

 


carmijo
Supporter
Forum|alt.badge.img+11
  • Supporter
  • September 30, 2022
webservicessia wrote:

Thank you.

I already tried it and this provided a list of values without the "content" of the Fme_feature_type: ,imageI would like to get something like :

Potatoe : 845

Salad : 1496

 

instead of

 

vegetables :

845

1496

 

add fme_feature_type in the list of statistics to calculate and find the min, just to get the text. then you can build a string with an attribute manager @value(vegetables): @value(count)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings