Click here to Skip to main content
15,885,771 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to list months which are in columns to rows , months are dynamic they may change based on year



Report Date	Category	Partner	2/1/2021	3/1/2021	4/1/2021	5/1/2021	6/1/2021	7/1/2021	8/1/2021


What I have tried:

i am doing unpviot but months are dynamic and not getting how to get dynamic months in unpviot query
Posted
Updated 26-May-21 23:12pm
v3
Comments
Richard Deeming 28-May-21 3:39am    
To generate that result, there must be a query which is doing a dynamic PIVOT on some source data. It would probably be easier to go back to the source data instead of trying to UNPIVOT the results of that query.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900