I have an existing SSAS 2014 multidimensional project which uses a case sensitive SQL Server database as a source (Latin_1_General_CS_AS collation). The attributes in the SSAS project are also specified as case sensitive and it works just fine with SSAS 2014. After deploying to SSAS 2022 multidimensional, I get "duplicate key" errors when processing a SSAS dimension when one of the attributes has values in the source that differ only by case. I've constructed a minimal workable example with one dimension:
CREATE DATABASE CaseSensitiveColumnDB COLLATE Latin1_General_CS_AS;
GO
USE CaseSensitiveColumnDB;
CREATE TABLE MyDimension(Id INT, Name VARCHAR(100));
INSERT MyDimension VALUES (1, 'SOMENAME');
INSERT MyDimension VALUES (2, 'somename');
Create a datasource view with a table provided above in SQL, create a dimension based on this table and try to deploy and process it on a SSAS 2022 instance.
Expected: Processing is successful (as on SSAS 2014) Actual: Processing breaks with an error "Duplicate attribute key has been found when processing: Table: 'MyDimension', Column: 'Name', Value: 'SOMENAME'. The attribute is 'Name'."
I've already tried specifying the case sensitivity explicitly on the attribute itself (was already there), in the dimension properties, in the SSAS Database properties (right click the project node in the VS Solution Explorer -> Edit Database) and even in the properties of the SSAS instance with no difference. Am I missing something or is it broken indeed?