Google Analytics API provides the users with a level of flexibility for their data analysis. This feature is great for filtering out data in reports that you want to see, or, on the contrary, want to leave out.
Clicking on any Google Analytics widget will bring the set-up menu of the widget and you will be able to apply a filter, in which you will be able to choose a segment or apply a custom filter:
After creating your custom filter, click on "Apply filter".
If you would like to use this specific filter for other widgets or reports, you can always save it as a filter template. Please follow the following steps.
Step 1. After creating your filter, click on "Save filter for later"
Step 2. Click on "View saved Pre-sets"
Step 3. Choose the filter that you would need, click on it and then press "Apply":
For more information about Google Analytics filters and segments, please see the video below: