I can't help you with this without a proper reproducible example, please read this link and try to make one.
This is wrong syntax, if you want to learn how to use this functions then read this free ebook