GXquery4 - Conditional style Pivot in run-time

GXquery4 - Conditional style Pivot in run-time