我将 SQL 数据库连接到 Power BI。我得到了 80.000 行之类的数据,并且还有两个额外的计算列可以获取之前的值。这是一个代码, Table.AddColumn(#"Added Custom", "prev_action3", each try #"Added Custom" { [Index] -1 } [Action Type] otherwise null) " 当我单击“关闭并应用”时,我陷入了“在模型中创建连接”中一个多小时,没有输出。如果没有 2 列关闭和应用成本,大约 1-2 分钟。我已经尝试过这个https://community.powerbi.com/t5/Desktop/stucking-on-creating-connection-in-model/mp/276796,但它不会改变任何东西。