If the spell's level is higher than what the caster can successfully check against (DC = 10 + spell’s level), the Dispel Magic 5e attempt fails unless the caster rolls exceptionally well. Using higher-level spell slots can make this easier by raising the effective level of Dispel Magic.