Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Problems processing a measure group in SSAS 2012

$
0
0
I've run into something I haven't seen before. I'm working on an SSAS 2012 instance adding a new measure group to my cube. The source table is a bridge table with two columns. When I attempt to process the measure I get this error: [quote]"Errors in the back-end database access module. OLE DB was unable to convert a value to the data type requested for column '1'. Errors in the OLAP storage engine: An error occurred while processing the <my new bridge table/fact> partition of the <my new bridge table/fact> measure group for the <my cube> cube from the <my ssas db> database."[/quote]The query that's failing is:[code="sql"]SELECT 1 AS [XXX_0_0], [col1] AS [XXX_0_1], [col2] AS [XXX_0_2] FROM <my sql table>[/code]I can copy/paste the failing query into SSMS, run it and it's fine. The first column, which gets the name ending with _0_0 is a derived column created by SSAS and represents the partition number (there's only one partition so all the values are 1. It's an int)The second column is the one I believe is causing the error. It's nvarchar(40) in the SQL table and system.string (Length = 40) in the DSV. The third is an int in the SQL table and system.int and the DSV.My understanding is that, by column '1' they're referring to the column that ends with _0_1 (the second column in my example above). Any suggestions on how to troubleshoot this would be great. Thanks!

Viewing all articles
Browse latest Browse all 1341

Trending Articles