Filtering by Attributes and logical operators

This returns members that match a certain attribute value using the Filter function.
{FILTER( {TM1SUBSETALL( [Product] )}, [Product].[Category] = "Customer Lending")}

This example looks at multiple attribute values to return a filtered list:
    {TM1SUBSETALL( [Product] )},
    ([Product].[Category]="Customer Lending" OR [Product].[Type]="Debit")
    ([Product].[Internal Deal]<>"No")

Filtering by level, attribute and pattern are combined in the following example:
[Product].[Internal Deal] = "Yes")}, "*ID??") }