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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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!:
The Definitive Guide to Power Query (M)

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!:
The Definitive Guide to Power Query (M)

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors