Hello,
Thanks for sharing the URL which helps understand how to post the question.
I have rewrriten the question in a word document and has been attached as an attachment name pivotquery.docx
Please review and hope you help find me a solution.
Regards