Error when you use SecurityFilteringBehavior enumeration in SQL Server 2016 Analysis Services

Applies to: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core


Assume that you use Tabular Model Scripting Language (TMSL) to manage tabular databases in an instance of SQL Server 2016 Analysis Services. Also assume that you set the SecurityFilteringBehavior as Both, and the relationship's From Table option has the RLS condition set. In this situation, you receive an error message that resembles the following:

Table 'Table_Name' is configured for row-level security, introducing constraints on how security filters are specified. The setting for Security Filter Behavior on relationship 'Relationship_Name' cannot be Both.


The fix for this issue is included in the following cumulative update for SQL Server:


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


Learn about the terminology Microsoft uses to describe software updates.