Skip to main content
Solved

Attribute to value, assign attribute's value to a new attribute


Forum|alt.badge.img

I have a list of features. Each has a number of columns with a date as name and as value a numeric value. I want to use the date columns as a new column's attribute value, and write the date column's value into another field, like this:

 

DateSplit 

In this example I'd end up with 3 features. Furthest I've gotten so far was with the AttributeTransposer, however it returns every other field's value as missing and I can't get them back. Any ideas how to accomplish this?

Best answer by nielsgerrits

clickingbuttons wrote:

Three features. It's supposed to be a time series.

One way to do this is using an AttributeExploder:

2021-04-13_14h38_08

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

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

Do you want to have 3 features or 3 attributes in a single feature?


Forum|alt.badge.img
nielsgerrits wrote:

Do you want to have 3 features or 3 attributes in a single feature?

Three features. It's supposed to be a time series.


nielsgerrits
VIP
Forum|alt.badge.img+54
  • Best Answer
  • April 13, 2021
clickingbuttons wrote:

Three features. It's supposed to be a time series.

One way to do this is using an AttributeExploder:

2021-04-13_14h38_08


Forum|alt.badge.img
clickingbuttons wrote:

Three features. It's supposed to be a time series.

Great, that worked. Even with some extra attributes I dragged along, though I can't pinpoint why.


nielsgerrits
VIP
Forum|alt.badge.img+54
clickingbuttons wrote:

Three features. It's supposed to be a time series.

This is because the AttributeExploder parameter Keep Attributes was set to Yes.


Reply


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