June 30, 2021 at 11:15 am
Hello people,
I am trying to transpose date column to rows. I am not sure if this can be done for more than 10000+ rows.
For example, I am trying to convert the table in image 1 to image 2. Please note that the below is just a example extract of the data , the total rows I am trying to transpose are 10000+
I tried searching the web for answers but just couldn't find one, please let me know if this is possible or not?
Thanks!
June 30, 2021 at 11:30 am
Have a read of Jeff Moden's articles Cross Tabs and Pivots. They explain exactly how to achieve what you're after.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 30, 2021 at 8:34 pm
Have a read of Jeff Moden's articles Cross Tabs and Pivots. They explain exactly how to achieve what you're after.
And the second article describes how to do it dynamically!
And thanks for the reference, Thom.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 2, 2021 at 1:40 pm
Thank you for the descriptive explanation, I got what I wanted.
April 13, 2022 at 8:22 am
Good day
sidlfc08,
I would like to do the same condition ( transposing date column to rows )
Can you please share with me your query statement to solve your initial question.
I have already read the crosstabs and pivots by jeff moden's article but i am still confused.
Seeking for your generous help.
Thank you.
April 13, 2022 at 8:27 am
Good day
sidlfc08,
I would like to do the same condition ( transposing date column to rows )
Can you please share with me your query statement to solve your initial question.
I have already read the crosstabs and pivots by jeff moden's article but i am still confused.
Seeking for your generous help.
Thank you.
Where did you get confused? The linked articles have example queries, so what about those didn't you understand? What is your current attempt?
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 13, 2022 at 8:48 am
Below is the result that i want to accomplish , I want to transpose the column dates into row headers and the values of current status will be the value corresponding to each date.
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply