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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Dor1411993
New Member

Setting a refresh schedule - please help me

Hello evreyone!I'm sorry if it is a simple question, but I've been tangled with this problem for a very long time, and I really need help.I have files in my onedrive folder, and I use them in the powerBI Dashboards.I obviously want them to be refreshed by schedule, therefore I set the gateway as I saw in a few videos, and I seem to be connected properly:

 

Dor1411993_0-1645558810118.png

 

 

THe problem is that on the dataset setting, I have this Error:

 

Dor1411993_1-1645559069714.png

 

without any option to schedule.

As far as I could understand and dig,
I need to change the data source settings from the desktop in Advanced Editor,
Right?

If so, What I need to change in the csv file:
 
let
Source = Csv.Document(File.Contents("C:\Users\User\OneDrive\PowerBI\Demo Model\files\FME_rvt.csv"),[Delimiter=",", Columns=6, Encoding=65001, QuoteStyle=QuoteStyle.None]),
#"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"ObjectId", Int64.Type}, {"BuildingLevel", type text}, {"Family", type text}, {"FamilyType", type text}, {"Error", type text}, {"count", Int64.Type}})
in
#"Changed Type"

 

in the Excel file:

let
Source = Excel.Workbook(File.Contents("C:\Users\User\OneDrive\PowerBI\Demo Model\files\transormer.xlsx"), null, true),
Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],
#"Promoted Headers" = Table.PromoteHeaders(Sheet1_Sheet, [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"GlobalId", type text}, {"Tag", Int64.Type}})
in
#"Changed Type"

 

 

 

 And in the db files (sqlite3)

"""C:\Users\User\OneDrive\PowerBI\Demo Model\files\FME_rvt3.db""" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true]

 

 

 

Thank you very much!

 

Dor

1 REPLY 1
GilbertQ
Super User
Super User

Hi @Dor1411993 


From your image you are using a local file on your C: Drive which would require a gateway to connect.

 

If it talks about your issue you might find this blog post useful https://www.excelguru.ca/blog/2015/03/11/power-query-errors-please-rebuild-this-data-combination/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

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
Top Kudoed Authors