which function should i use to replace the "attvalue"?

Afif
New Altair Community Member
I want to use this expression but it says "attvalue" is unknown, which function should i use to replace the "attvalue"?


Tagged:
0
Answers
-
Hi @Afif,
To use the lag function you need to provide two arguments, lag("attribute name", offset).
the first is the name of your attribute or column, and the second is the offset.
In your case, the attvalue is not necessary, and the basic sentence is lag("Price", 1 )
Best,
Cesar
0