Help with JS Function

Make sure that you are using the Field Key ( not the Field Name). The Field Name is for human consumption only, the Field Key is used by Wix Code in queries.


As Roi pointed out, make sure that you are using the correct Dataset name.

Also, is the dataset connected to the collection?