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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors