I try to explain better, I have a measure called sale offer and want to know the total of the measure, between year X and Y, to do another calculation, for that reason need to be in a calculated field, not a filter in view of tableau
A calculated field can be created using the below formula:
if [Order Date] >= #01/01/2009# and [Order Date] < #01/01/2010#
then [Sale Offer]
I am using [Order Date] as a dimension for the time frame you want to capture. Place this new calculated field in your rows column as a SUM.