sql-server - 为什么我收到此错误 `Error (Data mining): Either the user, TEMP-USER\Administrator, does not have permission` ?

标签 sql-server mdx olap cube

我使用 SQL Server 2008 r2 和 SSAS,我使用 AdventureWorks2008 数据库。

我在 Sql 服务器分析器的 MDX 查询中编写此查询。

SELECT [Measures].[Internet Sales Amount]
FROM [Adventure Works] 

我得到这个错误

Executing the query ...

Error (Data mining): Either the user, TEMP-USER\Administrator, does not have permission to access the referenced mining model, Adventure Works, or the object does not exist.

Error (Data mining): Either the user, TEMP-USER\Administrator, does not have permission to access the referenced mining model, Adventure Works, or the object does not exist.

Execution complete

为什么会出现这个错误?

最佳答案

你最常使用这个查询

SELECT 
[Measures].[Internet Sales Amount]  ON COLUMNS
FROM [Adventure Works] 

必须在 MDX 查询中定义 COLUMNS。

关于sql-server - 为什么我收到此错误 `Error (Data mining): Either the user, TEMP-USER\Administrator, does not have permission` ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18029529/

相关文章:

mysql - 余额趋势分析

sql-server - 在 dockerized C sharp 微服务中播种/迁移数据时 SSL_ERROR_SSL MSSQL 握手失败

sql - 如何用 row 编写 select max ?

sql-server - 是什么导致 EF6 的 Migrate.exe 出现 TypeLoadException?

MDX 在层次结构中的固定级别计算 SUm

sql - 需要 MDX 查询总计数

ssas - 对 Select 语句的特定列求和

ssas - 使用 C# 对 SQL Server OLAP 多维数据集进行单元测试

java - 我在 Apache Kylin 中构建 Cube 时遇到错误

olap - MDXWhere 子句中的 except 函数