简体   繁体   English

Power BI:使用 Excel 文件和数据库作为数据源时的本地网关问题

[英]Power BI: On-premise gateway issues while using Excel file and database as data sources

this is probably something simple that I am overlooking, but here's what I have going on:这可能是我忽略的简单事情,但这就是我正在做的事情:

I've built a dashboard that sources a few tables from my database.我已经构建了一个仪表板,它从我的数据库中获取一些表。 The report is also using an Excel file (which is stored on my local machine and our OnePoint Drive) for a couple other tables.该报告还使用 Excel 文件(存储在我的本地计算机和我们的 OnePoint Drive 上)用于其他几个表。 We've set up the on-premise gateway so that the published reports can access the tables from the database.我们已经设置了本地网关,以便发布的报告可以访问数据库中的表。 Through the Manage Gateways page, it shows online: Gateway - Online Status通过管理网关页面,它显示在线:网关 - 在线状态

Opening the report still shows errors and says there is no gateway connection.打开报告仍然显示错误,并说没有网关连接。 See here: No gateway connection见这里:没有网关连接

When I go to the dataset settings, it seems that the Excel file is what is causing the issue: Gateway setting issues当我转到数据集设置时,似乎是 Excel 文件导致了问题:网关设置问题

Does anyone know what I need to do to fix this?有谁知道我需要做什么来解决这个问题? How do I make a connection to the Excel file that is on OneDrive and detach it from the gateway cluster that has been set up?如何连接到 OneDrive 上的 Excel 文件并将其与已设置的网关群集分离?

Looks like you're using a local file path.看起来您正在使用本地文件路径。 If it is in OneDrive, open the query and change the source to point directly at the cloud version.如果是在 OneDrive 中,请打开查询并将源更改为直接指向云版本。 There are instructions here: https://docs.microsoft.com/en-us/power-query/sharepoint-onedrive-files这里有说明: https ://docs.microsoft.com/en-us/power-query/sharepoint-onedrive-files

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Power BI 网关数据源使用情况和统计信息 - Power BI Gateway Data Sources Usage and Statistics 无法刷新基于本地数据库的报表数据(网关不工作) - Unable to refresh data for reports based on on-premise database (Gateway not working) 以编程方式更改 Power BI 文件中的数据源 - Programmatically change the data sources in a Power BI file 屏蔽或隐藏本地 Power BI 报表服务器名称 - Mask or hide on-premise Power BI Report Server name 如何使用Power BI Publisher for Excel加载项从Excel进行本地连接(Power BI Report Server)? - How to connect on premise (Power BI Report Server) from Excel using the Power BI publisher for Excel add-in? Power BI 和 Excel 之间的网关 - Gateway between Power BI and Excel 托管在指向不同多维数据集的同一本地 Power Bi 报表服务器中的报表 - Reports hosted in same on-premise Power Bi Report Server pointing to different cubes 是否可以使用内部数据库在Power Bi中在不到15分钟的时间内刷新数据 - Is it possible to Refresh data in less than 15 minutes in power bi with on premise database Power BI多个数据源-多维数据集 - Power BI Multiple Data Sources - Cubes 需要在power bi中将文件路径从本地更改为sharepoint - Need to change the file path from on premise to sharepoint in power bi
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM