Skip to main content
Question

How to combine attribute values

  • February 23, 2015
  • 1 reply
  • 16 views

I have two attribute A1 and A2 as columns and I would like to create a third attribute A3 (also a column) that will contain first value from A1 than second value of A2 and so on.

 

 

A3(1) = A1(1)

 

A3(2) = A2(2)

 

A3(3) = A1(3)

 

A3(4) = A2(4)

 

......

 

 

How to do just that?

 

Thank you.

 

Regards,

 

barani
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.

1 reply

takashi
Celebrity
  • February 23, 2015
Hi barani,

 

 

The ModuloCounter (Count Maximum: 2) add alternatively 0 and 1 to the features.

 

You can then use an AttributeCreator to create A3 with Conditional Value setting.

 

-----

 

A3 = If @Value(_modulo_count) = 0 Then @Value(A1) Else @Value(A2)

 

-----

 

 

Takashi