Skip to main content
Question

Logic for same column

  • September 11, 2023
  • 5 replies
  • 11 views

Forum|alt.badge.img+5

If a column contains the string "Insert," I want to change all the values in that column to "Insert." If the column does not contain "Insert," we want to leave the values in that column unchanged.

 

Is there a method or approach available that would allow me to accomplish this objective?

5 replies

geomancer
Evangelist
Forum|alt.badge.img+50
  • Evangelist
  • September 11, 2023

Something like this?

imageIn (1), no features with value 'Insert' in ColumnToTest are present. No features enter the Supplier port of the FeatureMerger, so all features exit the FeatureMerger through the UnmergeredRequestor port, and no values are changed.

In (2), one or more features with value 'Insert' in ColumnToTest are present, so all features will exit the FeatureMerger through the Merged port. In this case the value of attribute ColumnToTest is changed to 'Insert' for all features in the AttributeManager.


Forum|alt.badge.img+5
  • Author
  • September 11, 2023

cam you send me the workspace


geomancer
Evangelist
Forum|alt.badge.img+50
  • Evangelist
  • September 11, 2023

Or course.


Forum|alt.badge.img+5
  • Author
  • September 11, 2023

No this not that i want


geomancer
Evangelist
Forum|alt.badge.img+50
  • Evangelist
  • September 11, 2023

I'm sorry, then I don't understand what you are trying to accomplish.


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