快把我逼疯了。
我的主要目标是在我的Rails Web应用程序中嵌入POWER BI报告/瓷砖。
我有一个有一些报告的权力BI账户。我还在嵌入式Power的Azure门户上创建了一个工作区集合。
通过门户,我不能向我的WorkspaceCollection添加一个工作区(为什么是M$?)
我正在研究OSX,所以我不能遵循这些说明(PowerBI.sln在Visual中):https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-get-started-sample/
因此,作为一种替代,我使用OSX :https://azure.microsoft.com/en-us/documentation/articles/xplat-cli-install/
登录后,我可以这样做:
$ azure powerbi -h
help: Commands to manage your Azure Power BI Embedded Workspace Collections
help:
help: Create a new workspace collection
help: powerbi create [options] <resourceGroup> <name> <location> [tags]
help:
help: List workspace collections within subscription or within resource group
help: powerbi list [options] [resourceGroup]
help:
help: Commands to manage your Power BI Workspace Collection keys
help: powerbi keys list [options] <resourceGroup> <name>
help: powerbi keys renew [options] <resourceGroup> <name>
help:
help: Commands to manage your Power BI Workspaces
help: powerbi workspaces list [options] <resourceGroup> <name>
help:
help: Options:
help: -h, --help output usage information
help:
help: Current Mode: arm (Azure Resource Management)...and这个:
$ azure powerbi list
info: Executing command powerbi list
+ Getting workspace collections in subscription: 12345678-1234-1234-1234-123456789012
data: Name Group Location Provisioning State Tags
data: --------------------------- --------------------- ----------- ------------------ ----
data: MyCompanyWorkspaceCollection MyCompanyResourceGroup West Europe Succeeded null
data: MyCompany-WC MyCompanyResourceGroup West Europe Succeeded null
info: powerbi list command OK太棒了!
现在,我如何在我的( MyCompanyWorkspaceCollection,Provision a new workspace in an existing workspace collection)中提供一个新的工作区?
然后,如何将文件导入工作区
非常感谢您的建议!
发布于 2016-10-06 11:07:29
谢谢你@CuongLe。
嗨,
为了成功我不得不忘记我以前读过的所有东西..。然后再从下面开始:https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-iframe/
在AZURE门户上创建Power工作区集合,并获取访问密钥(供应)
从Power桌面或示例文件中获取PBIX
使用CLI (必须使用该命令:https://github.com/Microsoft/PowerBI-Cli )创建一个Power工作区导入.pbix文件到工作区Get报告id
在我的RAILS应用程序(使用https://github.com/jwt/ruby-jwt )中,将报告嵌入到网页中
我不知道遇到了多少错误,或者Azure的注册/登录问题.到那里真的很痛苦。
为大家干杯。
https://stackoverflow.com/questions/39870579
复制相似问题