英文:
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)])
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论