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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Resolver II
Resolver II

Data Gateway does not allow merges of tables coming from network drive

We are having issues with our On-premises data gateway. For some of our data sources, we have .csv files in a network folder. Let's call it \\abc-123\reports\DashboardSources\


We have multiple folders within this main folder that each contain one .csv file. These files get overwritten each night with new data from the previous day.







We set up a On-Premises Data Gateway to connect to the main folder, "\\abc-123\reports\DashboardSources\"


In one report, we have file1 merging with file2 in Power Query. This gives us the following error:

gateway issue 1.JPG


The issue is not, though, that the gateway does not exist. If we remove the step in the query where we merge the tables it works fine. Conversely, if we set up gateways to each individual file (file1 and file 2) instead of using one gateway to the main folder, it also works.


What makes this even more confusing is that we set this dataset up yesterday to refresh with no issues. It refreshed 6 times overnight with no problems. When we got to work this morning to add other datasets, this one could no longer connect via the data gateway. 


@dimazaid can anyone on the gateway and connectors team help out?






For anyone who found this thread, refer to this one.


Microsoft is taking action there.





View solution in original post

Community Support
Community Support

HI @bdymit,

For on-premise gateway, it not support to auto analysis child folder and files, please add the match type data sources. (add every files as the data sources of gateway instead the main folder)


If your report use the combine datasource, power bi will try to use personal gateway to manage your datasource. (For gateway personal mode, it not need to consider the source setting)



Power BI Gateway - Personal



Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Not applicable

I'm having a similar issue to what is being described here.  Merge operation on tables causes the gateway to no longer recognise the project as being valid for refreshing.


Adding link to my thread just in case there are details in my situation that assist solving this issue.

For anyone who found this thread, refer to this one.


Microsoft is taking action there.





Resolver II
Resolver II

We also have some sources that are tables in a sql server. If we try and merge two of those tables together in Power Query, we do not get the same issue.


So merging two tables is OK if it comes from a sql server (just one Data Gateway to the server), but it does not work to merge two files coming from the same folder (again, using one Data Gateway)?

Additionally, it seems as though we can set up the file to schedule refresh when there no merges in the query, but then add merges to the query and "overwrite" the dataset. It seems to keep the refresh settings, and it successfully refreshes. If we try to set up that new file with the merges to refresh, though, it will not allow us to do so, giving the error message above.

Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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