简体   繁体   English

是否可以使用 Python 打开 pbix 文件并刷新它?

[英]Is it possible to open a pbix file using Python and refresh it?

I want to develop an automation that will, after some steps, open a Power BI file and refresh the report.我想开发一个自动化程序,经过一些步骤后,它会打开一个 Power BI 文件并刷新报表。

I tried using subprocess.Popen([path]) , but it didn't work.我尝试使用subprocess.Popen([path]) ,但它没有用。 It appeared an error message, saying [WinError 193] %1 is not a valid Win32 application .它出现了一条错误消息,说[WinError 193] %1 is not a valid Win32 application

Is there any way to create such automation?有没有办法创建这样的自动化?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM