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
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
Community Champion
Community Champion

Do you have a data gateway installed?



Follow on LinkedIn
@ 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!:
DAX For Humans

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?



Follow on LinkedIn
@ 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!:
DAX For Humans

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
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