KB4098732 - FIX: A calculation error occurs when a secured measure is queried in SSAS 2017

Applies To
SQL Server 2017 Developer on Windows SQL Server 2017 Enterprise on Windows SQL Server 2017 Enterprise Core on Windows SQL Server 2017 Standard on Windows

Symptoms

Assume that you have Microsoft SQL Server Analysis Services (SSAS) installed on SQL Server 2017, and a role is defined with a secured column. If a measure with the name Calculated Measure Name references that secured column and a user who belongs to that role runs a query that references Calculated Measure Name, the user may receive an error message that resembles the following:

Note

MdxScript(model) (LineNumber,ColumnNumber) Calculation error in measure 'CalculatedmeasureName' : Column 'ColumnName' cannot be found or may not be used in this expression.

The user should instead receive an error message that states that the measure does not exist. Because the column is secured, the measure should also be automatically secured, and the user should not receive any indication in the error that the measure is a valid measure.

Resolution

This issue is fixed in the following cumulative update for SQL Server:

Cumulative Update 7 for SQL Server 2017

About cumulative updates for SQL Server:

Each new cumulative update for SQL Server contains all the hotfixes and security fixes that were included in the previous cumulative update. Check out the latest cumulative updates for SQL Server:

Latest cumulative update for SQL Server 2017

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminology that Microsoft uses to describe software updates.