Thanks, Ismael! Yes, as it usually happens, when I summarized the problem, I realized there must be another way of approaching it and found exactly this switch. Hence I removed the original question.
Works great now and I can finally fully compare my reports to the ones I receive from the institutions.