I have some sample data as listed below and am hoping someone can help me with it.
Date WellName Reading
----------------------------------------
11/30/2018 12:00:00 AM Well One 10
11/30/2018 12:00:00 AM Well Two 20
11/30/2018 12:00:00 AM Well Three 10
12/1/2018 12:00:00 AM Well One 14
12/1/2018 12:00:00 AM Well Two 25
12/1/2018 12:00:00 AM Well Three 11
12/2/2018 12:00:00 AM Well One 17
12/2/2018 12:00:00 AM Well Two 43
12/2/2018 12:00:00 AM Well Three 27
12/3/2018 12:00:00 AM Well One 25
12/3/2018 12:00:00 AM Well Two 56
12/3/2018 12:00:00 AM Well Three 67
12/16/2018 12:00:00 AM Well One 10
12/16/2018 12:00:00 AM Well Three 10
12/16/2018 12:00:00 AM Well Two 11
What I need to have is the dates listed across the top and thought a PIVOT might do the trick, but I can't seem to get it to work. I don't need to sum the values or anything, I just need the data flipped.
I also need to have a value when there is no date, so I assume I would need to create a date table & join that.
Any thoughts or suggestions?