Displaying the CloudWatch Metric Data Query Expression

When the CloudWatch datasource creates a Metric Data Query Expression you can view this by clicking the ‘Show Query Expression’ button.
I am using variables to allow users to build their own expressions to query loadbalancers.
It would be nice to show this generated query to the user as way of feed back when they get it wrong.
Is it possible to access this query via a built in variable or something like that?

Copy that expression into text panel (optionally: format it nicely, for example use markdown code syntax). Of course dashboard variables will be substituted with current variable values.

Why didn’t I think of that.
Thank you.