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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Query contains unknown or unsupported data sources (Folder is used in the report)

Dear community, hope you can help

 

I have a network folder with xml files inside. Using "Get Data - Folder" I have uploaded the data from xml files to the report. 

 

I have published the report to the cloud, but i can`t shedule the data refresh: 

 

Capture.PNG

 

Here is the first raws of the query:

 

let
Source = Folder.Files("\\server\folder\windows\"),
#"Removed Columns" = Table.RemoveColumns(Source,{"Extension", "Date accessed", "Date modified", "Date created", "Attributes", "Folder Path"}),
#"Filtered Hidden Files1" = Table.SelectRows(#"Removed Columns", each [Attributes]?[Hidden]? <> true),
#"Invoke Custom Function1" = Table.AddColumn(#"Filtered Hidden Files1", "Transform File from \\server\folder", each #"Transform File from \\server\folder"([Content])),
#"Removed Other Columns1" = Table.SelectColumns(#"Invoke Custom Function1",{"Name", "Transform File from \\server\folder"}),
#"Expanded Table Column1" = Table.ExpandTableColumn(#"Removed Other Columns1", "Transform File from \\server\folder", Table.ColumnNames(#"Transform File from \\server\folder"(#"Sample File"))),
#"Changed Type" = Table.TransformColumnTypes(#"Expanded Table Column1",{{"ReportHost", type any}, {"Attribute:name", type text}}),

4 REPLIES 4
Greg_Deckler
Super User
Super User

Do you have a data gateway installed?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Of course, i am using On-premises data gateway to pull data from ad, ms sql, etc. Additionaly a have configured those folder as a data source:

 

2.PNG

OK, next dumb question, are the data sources for Windows Scan Results and Linux Scan Results Folder queries to that folder defined in your gateway or are they something else, like CSV files that happen to reside in that folder?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

No, Linux and Windows scan results refers to the network folders only, there are no other data sources in the query. 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors