Apply master page according to merge field value
When using data merge, I'd like to be able to apply master page from merge field.
If my merge field value is "Value A", i'd like to apply Master page A.
If it's "Value B", Master page B.
It would be a great way to improve customer customization.