Skip to main content
Question

Convert value into new column.

  • November 10, 2022
  • 6 replies
  • 68 views

mr_fme
Enthusiast
Forum|alt.badge.img+9

Hi,

I need to transform the value of this column and a new column...the values are always the same.

 

captura 

Thank´s

6 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • November 10, 2022

If I'm understanding correctly, I believe you can use a BulkAttributeRenamer with the parameter shown in the screenshot.

image


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • November 10, 2022

No, sorry. I was updated the post. It´s better to understand.


mirco
Contributor
Forum|alt.badge.img+1
  • Contributor
  • November 11, 2022

Do you mean something like this:

Create a new attribute named with the value of anoher attribute:

imageimage


lifalin2016
Contributor
Forum|alt.badge.img+30
  • Contributor
  • November 11, 2022

You may be looking for AttributePivoter, that performs a grouping of values in a single column, and aggregates the other values.


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • November 11, 2022
mirco wrote:

Do you mean something like this:

Create a new attribute named with the value of anoher attribute:

imageimage

Very good!

 

But the new attribute created don´t exposed automatically. It´s a problem.


hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • November 14, 2022
mr_fme wrote:

Very good!

 

But the new attribute created don´t exposed automatically. It´s a problem.

This is stepping into dynamic workflows/schemas. You now need to create a schema feature with the correct schema and change your writer to accept a schema feature. Ofcourse, if you're wanting to use FME transformers after setting that new field it becomes problematic, but there are ways around it depending what you're wanting to achieve

 

https://community.safe.com/s/article/dynamic-workflow-tutorial-introduction

https://community.safe.com/s/article/dynamic-workflows-advanced-example-modifying-the-s


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