Hi @antonio_piernav
Please see the screenshot below: 

Here, i am using the CDS connector to get the records and using the filter query to filter the results accordingly. You need to get the logical name of the PLATE and the FORMATION fields and replace that up in the filter query. Note that if the FORMATION field is of type two options or option set, you need to find the value of the YES label (usually 0) and then update the expression as eq 0 instead of eq YES.
Next use the create a CSV action to create the CSV table and use the custom headers option to get only the values you need in the table and use that in the email attachment.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!