gpt4 book ai didi

postgresql - 如何将 Power BI 连接到 PostgreSQL

转载 作者:行者123 更新时间:2023-11-29 12:03:06 24 4
gpt4 key购买 nike

我想从 PostgreSQL(在我的本地计算机上)将数据导入 Power BI 桌面。我尝试了此处给出的解决方案 ( Installing ngpsql to use PostgreSQL in PowerBI ),但它没有用。

基本上,我安装了最新版本的 ngpsql(3.2.4),并带有安装到 GAC 的选项。但是,我在 Power BI 中遇到同样的错误,指出连接器需要一个或多个附加组件。

我是否遗漏了任何步骤?我在网上查看但没有找到任何关于此的最新文档。

非常感谢任何帮助。

谢谢

最佳答案

三种方式:

1 - 如果您遵循 Lavande 的评论,ngpsql 方法确实有效:

  1. Install npgsql as Administrator (since the DLL would be pushed to GAC);
  2. During the installation stage, enabled "Npgsql GAC Installation";
  3. Restart the PC

2 - 对于 ODBC,我使用了这个 walk-through

  • 安装 ODBC 连接器 here
  • 启动它并创建一个新连接 (DSN)
  • 在 Power BI 中,获取数据ODBCPostGreSQL,无选项
  • 输入凭据。
  • 选择感兴趣的表格。

3 - 使用 M 查询语言。

注意:Power BI 社区帖子?好吧,...

关于postgresql - 如何将 Power BI 连接到 PostgreSQL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45071920/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com