The only option available is the one described in the documentation.
Bulk Configuring Quality and Retention Settings Through Profiles - Cisco Meraki Documentation
The other way would be via APIs, but you will need programming knowledge.
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.