Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Aggregating daily table in direct query & filtering last 30 days

Hi

 

I'm connecting by direct query to google bigquery to a daily table ( ~1m rows per month)

 

I want to create 2 tables from it, 1 daily on last month and 1 monthly on last year:

1. How can i auto filter it to last 30 days ?

2. How can i create an aggregated monthly table without quering all the millions of rows ?  

 

Thanks 

1 Reply