start query filter calculation