It does not. Could you write an expression where 2017 data is selected till june. Year, month and data defined in 3 individual columns. This is the formula is used earlier:
However, the month filter is not getting applied as the months have already been defined. Hope this is clearer.