无法在Azure Analysis Services中添加/连接CosmosDB

时间:2019-02-26 14:23:34

标签: azure azure-cosmosdb azure-analysis-services

我已经在同一地区(印度西部)创建了Azure Analysis Service和CosmosDB。但是当我尝试在Azure Analysis Service中添加新模型时,我只能在数据源列表中找到示例数据(Adventurous DW) 。我无法在数据源的下拉列表中找到CosmosDB名称。

Microsoft提到我们可以从Azure Analysis Services for In-memory模型连接到Cosmos DB。但是我什至找不到列表中的Cosmos DB。enter image description here

https://docs.microsoft.com/en-in/azure/analysis-services/analysis-services-datasource

1 个答案:

答案 0 :(得分:1)

遵循官方教程Add a sample model from the portal,您只能使用示例模型,该模型是Adventure Works Internet Sales (1200)示例数据模型的完整版本。样本模型可用于测试模型管理,与工具和客户端应用程序连接以及查询模型数据。

但是根据supported list data source document中的语句,cos db仅需要Tabular 1400 and higher models

enter image description here

因此,请遵循Adventure Works tutorialcreate a tabular model project。然后您可以create a connection到Tabular Model Explorer的cosmos db帐户,右键单击Data Sources > Import from Data Source

enter image description here

键入您的数据库信息:

enter image description here

此外,您可以参考与此相关的案例:https://social.msdn.microsoft.com/Forums/en-US/9394a10b-f085-4a68-9951-5000a6f799ef/cosmos-db-data-source-how-to-configure-the-key-in-azure-analysis-services?forum=AzureAnalysisServices

相关问题