I am struggling with something that I thought would be pretty simple, but…

I have already a measure that gives me a percentage-calculation. This measure I use to compare months over months. I now want to compare it to a baseline over a given set of dates: 01012018 to 31072018. My current formula is this:

The result I get is the same as the original measure… it seems that it is not using the datesbetween function.
I use a Calendar table which is related to the fact table from where I derive the original measure.
Any hints to how I get this one working??

After working some more on this I think I can boil down the problem to this:
I need the measure to do the already mentioned calculation, since that will be my baseline. This measure I need to get to work in a row context: “batch numbers” also if they are included in the datesbetween filter:

Since I want to compare the measure called “Wastage Percentage” with the new measure called Baseline and the row context is the batch numbers. I have tried numerous combination of ALL and ALLEXCEPT, but nothing gives me the baseline in the batch number context.
I would have thought that the following did the trick, but no: