REST Connector setup(REST 连接器设置)¶
:::callout{theme="warning"} The following page and discusses implementation of the Power BI® connector to access Foundry resources from the Power Query interface. If you are searching for information on our Microsoft Power BI® XMLA connector for data integration, refer to our data connectivity documentation. :::
You can access Palantir Foundry datasets from Power BI® without needing to install the Palantir Foundry ODBC driver. Compared to the built-in Palantir Foundry connector that is available in Power BI® by default, this connector only supports smaller dataset sizes. It is only intended for use when it is not possible to install the ODBC driver.The Palantir Foundry REST connector only supports Import mode for dataset ingestion and not Direct Query.
Step 1: Install the Connector in the Custom Connectors Directory¶
You can deploy custom connectors that are not natively shipped to ingest data into Power BI®. Locate the Custom Connectors folder within the Power BI® installation in your file directory. This directory should have been created as a part of the installation for Power BI®. Download the Palantir Foundry REST Connector and move it into this directory.
Download:
Step 2: Configure Power BI® to use Custom Connectors¶
Change the Power BI® desktop settings to allow unverified extensions by navigating to Options > Security > Data extensions. Select the option (Not Recommended) Allow any extension to load without validation or warning.
Step 3: Ingest data¶
Restart the Power BI® application to allow the configurations to take effect. Custom connectors are loaded on start up and should now be available for use. You can follow the instructions in the Power BI®: Getting Started Guide to get started building your first report backed by Foundry data. Note that the connector will be called "Palantir Foundry (REST)" in Power BI® when not using the ODBC connector method.
中文翻译¶
REST 连接器设置¶
:::callout{theme="warning"} 以下页面讨论了如何实现 Power BI® 连接器,以便从 Power Query 界面访问 Foundry 资源。如果您正在寻找有关用于数据集成的 Microsoft Power BI® XMLA 连接器的信息,请参阅我们的数据连接文档。 :::
您可以在无需安装 Palantir Foundry ODBC 驱动程序的情况下,从 Power BI® 访问 Palantir Foundry 数据集。与 Power BI® 默认内置的 Palantir Foundry 连接器相比,此连接器仅支持较小的数据集规模。它仅适用于无法安装 ODBC 驱动程序的情况。Palantir Foundry REST 连接器仅支持导入模式进行数据集摄取,不支持直接查询。
步骤 1:在自定义连接器目录中安装连接器¶
您可以部署非原生提供的自定义连接器,以便将数据摄取到 Power BI® 中。在文件目录中找到 Power BI® 安装目录下的 Custom Connectors 文件夹。该目录应在 Power BI® 安装过程中自动创建。下载 Palantir Foundry REST 连接器并将其移动到此目录中。
下载:
步骤 2:配置 Power BI® 以使用自定义连接器¶
更改 Power BI® 桌面设置以允许未经验证的扩展程序:导航至 选项 > 安全性 > 数据扩展。选择 (不推荐) 允许任何扩展程序加载,无需验证或警告 选项。
步骤 3:摄取数据¶
重新启动 Power BI® 应用程序以使配置生效。自定义连接器会在启动时加载,现在应该可以正常使用。您可以按照 Power BI®:入门指南 中的说明,开始构建您的第一个基于 Foundry 数据的报告。请注意,在不使用 ODBC 连接器方法时,该连接器在 Power BI® 中将显示为 "Palantir Foundry (REST)"。