I have the following query:
SELECT NON EMPTY { [Measures].[M_E_Amount], [Measures].[PrevAndNext] } ON COLUMNS, NON EMPTY { ([fact_Employment].[DATAAREAID].[DATAAREAID].ALLMEMBERS * [fact_Employment].[Business Line Code].[Business Line Code].ALLMEMBERS * [fact_Employment].[ID].[ID].ALLMEMBERS *[fact_Employment].[PersonnelNumber].[PersonnelNumber].ALLMEMBERS * [dim_Calendar].[YYYYMM].[YYYYMM].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM [Projects] CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
The problem with it is that I cannot limit or change the type of [Measures].[PrevAndNext]. I want to do it, because Im using this query in SSIS and Im trying to import it in database as value. The problem is that the SSIS gave me this error: "Conversion failed because the data value overflowed the specified type.". in the Source and Im not able to change it. The only way is to optimize the query. Is there anyone who can help me? Big thanks!