Forum Discussion

Maybrick1046's avatar
Maybrick1046
Frequent Visitor
3 years ago

The Syntax for... is incorrect

I cannot for the life of me determine what is wrong with this statement.  Any help appreciated

5 Replies

  • ValtteriN's avatar
    ValtteriN
    Community Champion

    Hi,

    var needs return in the end and then you can refer to the variable. 

    E.g. measure = var _a = 1
    return 
    _a

    So add: "return" and "data" and you are good

    I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

    My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/

      • ValtteriN's avatar
        ValtteriN
        Community Champion

        Hi, At a quick glance it seems you are missing closing ')' from your data variable.