Forum Discussion
AlessandroBet
Helper V
1 year agoData refresh with CSV file
Hi, i'm importing CSV file stored on google drive (ex: g:\database\CSV\test.csv) but when i refresh the data with PBI desktop it doesn't work. I have already read all the similar post Thanks...
- 1 year ago
Removing the column parameter it works
AlessandroBet
Helper V
1 year agoI get error if i rename the file but if i rename back the data are not refreshed.
To read the correct data i have to import again the file in thr new query
danextian
Super User
1 year agoCan you please post both queries? new and old.
- AlessandroBet1 year ago
Helper V
how can i post the query?
- danextian1 year ago
Super User
Right click a query and then click advanced editor. Copy the code inside.
- AlessandroBet1 year ago
Helper V
let Source = Csv.Document(File.Contents("G:\Drive\File.csv"),[Delimiter=",", Columns=17, Encoding=65001, QuoteStyle=QuoteStyle.None]), #"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true]) in #"Promoted Headers"