I can do it by writing a calculation like
So I'd like a sustainable solution that relies on actual input data as to what brackets exist, instead of hard coding these in a calculation.
(partition will ensure this is done on a per country basis)
Inequality block is a Custom block and it will require R installation, if you haven't done that already. If not - instructions are on the block's Setup tab.