How can I add a 'WHERE' clause in a manual KPI?

How can I add a 'WHERE' clause in a manual KPI?

1. Create a manual KPI without 'WHERE' clause. 2. Go to the XML file of the corresponding manual KPI and add the 'WHERE' clause. For example, --