Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
How to use the same queries as many times with dynamic changing of dataset names ie dataset names will be passed as a parameter to replace the from statement.
How can I use a parameter to replace the bigquery from statement ‘projectname.schemaname’?
example:
SELECT * FROM `bigquery-public-data.usa_names.usa_1910_2013`
has to be changed to
SELECT * FROM `bigquery-public-data1.usa_names1.usa_1910_2013`
User | Count |
---|---|
6 | |
4 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
3 | |
3 | |
2 | |
2 |