March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I am using Bigqery to get the Data in power BI with values as
let
data = Value.NativeQuery(GoogleBigQuery.Database([BillingProject="account"])
{[Name="XXXXX6"]}[Data], "SELECT *#(lf)FROM `YYYt`#(lf)
WHERE DATETIME(update_day) > DATETIME('2024-09-14T08:26:01') #(lf) AND DATETIME(update_day)< DATETIME('2024-09-21T08:26:01') ", null, [EnableFolding=true]),
#"Kept First Rows" = Table.FirstN(data,200),
RowToReturn = if AllOrSmall = "A" then dep_segment_equations else #"Kept First Rows",
#"Filtered Rows" = Table.SelectRows(RowToReturn, each [update_day] >= RangeStart and [update_day] < RangeEnd)
in
#"Filtered Rows"
My update_day in BQ is Datetime like "2024-09-15T00:00:00"
AS i am getting the error like
@edhans ,
Seems like you are comparing 2024-09-23 11:28:50Z, a datetimezone to 2022-09-08 00:00:00, and the BQ value is 2024-09-15T00:00:00. I don't know if one of these is actually a text value, but I would try making the format of the Power Query datetime match the database format, which I guess is UTC Zulu time.
--Nate
Asking more experts @ibendlin
What is the output of the RangeStart variable?
--Nate
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
16 | |
13 | |
12 | |
9 |
User | Count |
---|---|
35 | |
31 | |
20 | |
19 | |
17 |