How to generate a new attribute using Generate Attribute operator?

glybentta
glybentta New Altair Community Member
edited November 2024 in Community Q&A

I have to generate an attribute 'YEAR' (YYYY) inside the Loop operator. what should be the mathematical function for the same? I tried using data_add(year,  eval(%{loop_forecast}), DATE_UNIT_YEAR) but it gave an expression evaluation error. Thanks in advance.

Answers

  • Thomas_Ott
    Thomas_Ott New Altair Community Member

    Your post is a bit vague to troubleshoot. Can you post the error message, process XML, and some data?