Hello,
what i'm trying to do is simple: the user types "201401", and the query has to understand that it's in the 1st quarter, so the period selected will be 201401-201402-201403.
Simple, but I can't do it. I tried with a switch function at first but it didn't work so i moved on nested IIF's...