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

AfifAfif Member Posts: 4 Learner I
I want to use this expression but it says "attvalue" is unknown, which function should i use to replace the "attvalue"?


Answers

  • ceaperezceaperez Member Posts: 492 Unicorn
    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 

Sign In or Register to comment.