Group Dates from SQL Query

G

Guest

I have the results of a SQL datasource providing the data for a pivot table.
Several of the fields are dates however I cannot group them like they were
dates. How can I get the pivottable to understand which fields coming from my
SQL datasource should be treated as dates?
 
N

Nick Hodge

I always parse them in a sql query to dd/mm/yyyy (with the slashes) using
SUBSTRING or similar

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)
www.nickhodge.co.uk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top