When selecting a date, see the PRODUTOR that did not deliver between the selected date and the day before the earliest date, and delivered in pieces earlier date.
The question is:
How many PRODUTOR did not deliver parts between 10.14.2013 and 10.12.2013, which had delivered parts 10.11.2013?
The rules
In the column of day 2013-10-14 I need count PRODUTOR who delivered parts 11/10/2013.
In columns 10.13.2013 until 10.12.2013, I bring the sum of the parts delivered on each of these dates, which should be zero.
In the column of the day 10.11.2013, I bring the sum of the parts delivered on this date which the PRODUTOR not delivered during the period 10.14.2013 to 10.12.2013.
I tried creating a dimension calculated to see which PRODUTOR that meet the above rules, but it did not work, see.