Split Multiple Query Result into Multiple Table Legend

Hi,

I have 1 panel with 2 queries with Cloudwatch Invocation Summary and Error Summary, and I want to split the legend table result into 2 tables (instead of 1), how can I deal with that?