The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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:
THe problem is that on the dataset setting, I have this Error:
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?
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
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/