POWERBI: 传递给一个期望接受2到3个参数的函数的参数有4个。

huangapple go评论55阅读模式
英文:

POWERBI: 4 Arguments were passed to a function which expects between 2 and 3

问题

当我尝试添加 [CommandTimeOut=#duration(0, 2, 0, 0),ConnectionTimeout=#duration(0, 2, 0, 0)] 以消除所有超时错误时,我遇到了这个错误。

= Sql.Database("server1\DB","TBL",[Query="long query"],[CommandTimeOut=#duration(0, 2, 0, 0),ConnectionTimeout=#duration(0, 2, 0, 0)])

我该怎么办?

英文:

I'm getting this error when I'm trying to add [CommandTimeOut=#duration(0, 2, 0, 0),ConnectionTimeout=#duration(0, 2, 0, 0)] to get rid of all timeout errors.

= Sql.Database("server1\DB","TBL",[Query="long query"],[CommandTimeOut=#duration(0, 2, 0, 0),ConnectionTimeout=#duration(0, 2, 0, 0)])

What should I do?

答案1

得分: 0

第三个参数是单个记录。尝试:

= Sql.Database("server1\DB","TBL",[Query="长查询", CommandTimeOut=#持续时间(0, 2, 0, 0),ConnectionTimeout=#持续时间(0, 2, 0, 0)])

英文:

The third argument is a single record. Try:

= Sql.Database("server1\DB","TBL",[Query="long query", CommandTimeOut=#duration(0, 2, 0, 0),ConnectionTimeout=#duration(0, 2, 0, 0)])

huangapple
  • 本文由 发表于 2023年4月19日 15:03:26
  • 转载请务必保留本文链接:https://go.coder-hub.com/76051588.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定