Filter pdf for category

Good afternoon, I hope you are very well!
I want to be able to generate a pdf file of my products but with a filter by category and I can’t do it, when I don’t use AND and leave, True, everything works fine.
I have 1 template called Inventory, with the following data:
Name- stock- category - price and several other things.
To create the pdfs separately, create a template called Catalogs with the following Data:

CatalogID -Type- Date -Categories- File- Update

This is my code that does not work:

<< Start: FILTER (“Inventory”, AND ([Category] = [Categories]))) >>
<<Name>>
<<In Stock>>
<<Price>>
<<Image>>



<<END>>

What am I doing wrong?
Thanks!!

0 1 129
1 REPLY 1

Steve
Platinum 4
Platinum 4

You’re using AND() improperly.

See also:

Top Labels in this Space