Skip to content

Instantly share code, notes, and snippets.

@matti
Created December 21, 2022 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matti/7ff6913241b8839fb624bd084133f1dd to your computer and use it in GitHub Desktop.
Save matti/7ff6913241b8839fb624bd084133f1dd to your computer and use it in GitHub Desktop.
google_data_studio_custom_query
SELECT *
FROM `project.dataset.table`
WHERE
time BETWEEN PARSE_TIMESTAMP("%Y%m%d", @DS_START_DATE) AND PARSE_TIMESTAMP("%Y%m%d", @DS_END_DATE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment