Hi Carlos,
I believe this can be specified under the
IFilter[] property.
And yes, measures(metrics) are the building stone of your Insights. More info can be found
here. The filter can be applied on multiple
levels.
May I know what are you trying to achieve, please?