Reporting - how to get multiple data keys in table details? Also calculations for nested queries?

For the nested scripting data, you might find this topic useful:

For the nested reporting part, try this topic: