Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

How to filter a query by one more column

$
0
0

As a data analyst, I'm trying to get a specific string from Google Sheets with a query, so that my table can be more filtered with useful information.

This is my current query which is working, but I would like to add another column as a filter.

Current query (which works):

=query('Observations Table - Live'!A:H,"select C, sum(B) where B is not null group by C pivot A",1)

The query I'm trying to use but is not working:

=query('Observations Table - Live'!A:H,"select C, H sum(B) where B is not null and H = 'STRING' group by C pivot A",1)


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>