Skip to main content
Best Answer

Flatten File

  • March 8, 2018
  • 2 replies
  • 15 views

Forum|alt.badge.img

I've got output from 3 statscalculators coming together to create the following and was wondering how I could 'flatten' it such that that one record exists for each community and <missing> values have a value of zero.

So the output would look like the excel image.

Best answer by takashi

Hi @aviveiro, the Aggregator (Group By: COMMUNITY, Accumulation Mode: Merge Incoming Attributes) might help you. Then, to assign zero to missing attributes, consider using the NullAttributeMapper.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • Best Answer
  • March 9, 2018

Hi @aviveiro, the Aggregator (Group By: COMMUNITY, Accumulation Mode: Merge Incoming Attributes) might help you. Then, to assign zero to missing attributes, consider using the NullAttributeMapper.


Forum|alt.badge.img
  • Author
  • March 10, 2018

Terrific @takashi !

Your suggestions worked.

Thank you.