Forum Discussion

2 Replies

  • Syk's avatar
    Syk
    Resident Rockstar

    Is it just because you're missing a ) on the end of line 6?

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    Is it because the variable is not returned at the end of the code?

    ...
    RETURN
    _direction

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum