【问题标题】:Finding which function cause the error message while processing a table在处理表时查找导致错误消息的函数
【发布时间】:2019-01-21 16:05:06
【问题描述】:

通过处理(Process Full,Process Data)我的多维数据集中的一个表(每个表),我得到以下错误:

Failed to save modifications to the server. Error returned: 'A function 'MAX' has been used in a True/False expression that is used as a table filter expression. This is not allowed.
A function 'MAX' has been used in a True/False expression that is used as a table filter expression. This is not allowed.
The credentials provided for the SQL source are invalid. (Source at XXXX;XXXX.). The exception was raised by the IDbCommand interface.

如何找到导致此错误的函数?

【问题讨论】:

    标签: ssas dax ssas-tabular


    【解决方案1】:

    查询$SYSTEM.MDSCHEMA_MEASURES DMV,它列出了表格模型中的度量。 Expression 列包含每个度量的定义,您可以使用它来查找具有错误消息中指定的MAX 函数的任何度量。可以从 SSMS 中的 MDX 查询编辑器窗口或 Dax Studio 等其他工具查询 SSAS DMV。 Dax Studio 包含一个 DMV 列表,如果您还没有使用它,我建议您研究一下。您可以在此处找到有关此here 的更多信息。你也可以执行你的 在 Dax Studio 中测量,它可以帮助 调试它。您还需要验证您使用的帐户是否对您的表格模型使用的 SQL Server 对象具有适当的权限。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-08-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-09-30
      • 1970-01-01
      • 2018-10-31
      • 1970-01-01
      相关资源
      最近更新 更多