GXquery4 - Pivot with Grouping in run-time

GXquery4 - Pivot with Grouping in run-time