Refreshing a query in excel, I have an error that is a popup, and doesn't allow me to go to where the error is occurring. In the power query editor, the error does not come up. When I exit the power query editor and try to load the query to the table, I get the expression error. Below is the screenshot of the power query editor showing the date:
But when I try to filter table by date, I get:
The spot where the error is occurring in the code is here:
let
Source = Csv.Document(Parameter3,[Delimiter=",", Columns=13, Encoding=65001, QuoteStyle=QuoteStyle.Csv]),
#"Removed Top Rows" = Table.Skip(Source,2),
#"Promoted Headers" = Table.PromoteHeaders(#"Removed Top Rows", [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Date", type date}, {"Domain", type text}, {"Content", type text}, {"Sender Profile Image Url", type text}, {"Created Time", type datetime}, {"Permalink", type text}, {"snTypeColumn", type text}, {"Associated Cases", type text}, {"Product Brand Name", type text}, {"Product", type text}, {"Sentiment", type text}, {"Star Rating", Int64.Type}, {"Experience Score", Int64.Type}})
in #"Changed Type"
Here's the table I was querying from:
{"Date", type date}, {"Domain", type text}, {"Content", type text}, {"Sender Profile Image Url", type text}, {"Created Time", type datetime}, {"Permalink", type text}, {"snTypeColumn", type text}, {"Associated Cases", type text}, {"Product Brand Name", type text}, {"Product", type text}, {"Sentiment", type text}, {"Star Rating", Int64.Type}, {"Experience Score", Int64.Type}}