Skip to main content
Solved

AttributeCreator else if statement


Forum|alt.badge.img

is there a way in AttributeCreator to use if-else statement? for instance, if field1 < 10, field2 = 'low'.

or are there any better ways for this purpose?

Best answer by erik_jan

Yes, you can use the "Conditional value" option with the AttributeCreator and the newer AttributeManager to do exactly what you are describing.

View original
Did this help you find an answer to your question?

3 replies

erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • Best Answer
  • July 18, 2016

Yes, you can use the "Conditional value" option with the AttributeCreator and the newer AttributeManager to do exactly what you are describing.


Forum|alt.badge.img
  • Author
  • July 18, 2016
erik_jan wrote:

Yes, you can use the "Conditional value" option with the AttributeCreator and the newer AttributeManager to do exactly what you are describing.

thank you. learned a lot from this forum


ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • July 18, 2016

The AttributeRangeMapper can also be useful for this type of mapping.


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