Looking for a way to limit the # of columns returned when using the Pivot 
function within a Query.

For example, here is the query I have:

=QUERY('Raw Data - Oct'!$A:$Q,"select C, SUM(I) where C != '' group by C 
pivot A",1)

My thoughts were to add a limit to this, but resulted in limiting the # or 
rows returned. The formula I used was:

=QUERY('Raw Data - Oct'!$A:$Q,"select C, SUM(I) where C != '' group by C 
pivot A limit 7",1)

No bueno.

Can this be done within the Query function? I am not looking for other 
formulas to perform this action, unless they can be nested into the query 
function.

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/be5000ca-8385-424a-aceb-d56898525da8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to