make conditional forms for pivot chart that only include certain values in the fields

make conditional forms for pivot chart that only include certain values in the fields

Hi I want to make conditional forms for pivot chart that only include certain values in the fields, but I do not know how to do it inside the pivt chart. Usually the code would be:

ventasebay= Ingresos_Egresos[Tipo_de_ingreso== "Ventas Ebay"].sum(Ingresos);


I would like to have that code for pivot chart:

Example:

Sumif (Region = 'East, Sales, 0)