Quick Help

I keep getting a syntax error.  What am I missing?

 

CASE WHEN `invoice number` = 325940

THEN `customer code` = 'CS10003'

ELSE `customer code`

END 

Best Answer

  • MarkSnodgrass
    Answer ✓

    Try this

    CASE WHEN `invoice number` = 325940

    THEN 'CS10003'

    ELSE `customer code`

    END
    **Check out my Domo Tips & Tricks Videos

    **Make sure to <3 any users posts that helped you.
    **Please mark as accepted the ones who solved your issue.

Answers