Hi guys!
We have installed all product in the MS System Center 2012 portfolio, one of the products comes with the ability to build cubes from source data in the application.
The problem now is that one of the dimensions in one of the cubes are not able to process...
I have opened the cube in BIDS, and when trying to process the dimension we're getting error:
"OLE DB error: OLE DB or ODBC error: Invalid column name 'Column001'.; 42S22."
When looking at the SQL query it looks a little bit like this: (I have shortened it a bit, and changed the names)
SELECT
DISTINCT
[Column001].[Field001] AS [Name]
FROM
(
Select <a lot of columns....>
)
AS [Column001]
So basically we're selecting a subset from a subquery.
The thing is.. when running this in SSMS I can see that the "Field001" in not included in the subquery, so that must be the reason why we are getting the error(?) Am I right? Or can this be caused by other things?
If this is the error, how do I change the SQL query in the cube? In BIDS?