Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
tecumseh
Resolver II
Resolver II

Connect Google Big Query With Date Parameters

Hi all,

 

Using PBI desktop.
I connected to Google Big Query and imported data  - great!

But I need to specify the date range using parameters.

 

I created parameters:
GBQ_Begin_Date = 5/1/2023

GBQ_End_Date = 6/30/2023

How can I edit the connection string to use those parameters?
Here's current connection string:

let
Source = GoogleBigQuery.Database(),
#"path1" = Source{[Name="fakepath1"]}[Data],
Schema = #"path1"{[Name="fakepath2",Kind="Schema"]}[Data],
path2 = Schema{[Name="fakepath3",Kind="Table"]}[Data],
#"Removed Columns" = Table.RemoveColumns(path2,{"x_id", "y_id"})
in
#"Removed Columns"

Thanks,
-w

1 REPLY 1
vicky_
Super User
Super User

Hey, I'm not too familiar with using parameters myself, but I think you'll need to use the parameters in the SQL statement that you can get by clicking on the gears icon next to Source, which should open a popup where you can edit the connection string to use the parameters: 

vicky__0-1688342967815.png

vicky__1-1688343028581.png

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors