So, I've got this query that I'm passing to Google Sheets:

            query = 'select A, SUM(C) GROUP BY A PIVOT B';

And that works perfectly, giving me a nice stacked bar chart.  When I 
change it to this:

            query = 'select A, SUM(C) GROUP BY A PIVOT B ORDER BY SUM(C) 
DESC';

it fails, and doesn't return any data (or an error, for that matter).

I've tried moving the ORDER BY into different positions, and the result is 
the same.  Even if I leave off the "DESC" part, it fails.  So, the bottom 
line is, without sorting = works great.  With sorting = doesn't return any 
data and times out after a few seconds.

Is this a known bug, or am I doing something wrong?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/15f823c9-8776-4c28-b383-e7dc48a7ed28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to