Ssrs 2008 ssrs sql server service pack 2 2008导致查询出错

Ssrs 2008 ssrs sql server service pack 2 2008导致查询出错,ssrs-2008,ssas,mdx,Ssrs 2008,Ssas,Mdx,我有sql server 2008服务包1 64位。我有ssrs的报告 使用查询设计器中的此查询: SELECT NON EMPTY { [Measures].[Sum_AvgTime_WaitDist], [Measures].[Sum_AvgTime_WaitConfirm], [Measures].[TheDistribution_Count], [Measures].[Void_Dist_Price], [Measures].[Void_Dist_Count], [Measures].

我有sql server 2008服务包1 64位。我有ssrs的报告 使用查询设计器中的此查询:

 SELECT NON EMPTY { [Measures].[Sum_AvgTime_WaitDist], [Measures].[Sum_AvgTime_WaitConfirm], [Measures].[TheDistribution_Count], [Measures].[Void_Dist_Price], [Measures].[Void_Dist_Count], [Measures].[Sum_AvgTime_Dist], [Measures].[Sale_Estimate_Price], [Measures].[Sum_AvgTime_Settle], [Measures].[Sum_AvgTime_Confirm], [Measures].[TheDistribution_Price], [Measures].[Sum_AvgTime_Delivered], [Measures].[Sale Price], [Measures].[Ret Dist Pure Price], [Measures].[Sale Count], [Measures].[Transfer To Next Month From Month Except Last Day], [Measures].[Transfer To Next Month], [Measures].[Order Count Last Day Order], [Measures].[Void_Sale_Price], [Measures].[Void_Sale_Count], [Measures].[Sale Price LD], [Measures].[Order Count Last Day Exit Dist], [Measures].[Exit Price LD], [Measures].[Transfer To Next Month From Month Last Day], [Measures].[BeenRejected_Count], [Measures].[BeenDelivered_NotSettled_Price], [Measures].[BeenRejected_Price], [Measures].[DuringTheVerification_Count], [Measures].[Convert_Price], [Measures].[Return Price], [Measures].[Sale_Estimate_Count], [Measures].[AreDistributed_Count], [Measures].[BeenDelivered_NotSettled_Count], [Measures].[AreDistributed_Price], [Measures].[FullBack_Price], [Measures].[FullBack_Count], [Measures].[Less_Price], [Measures].[RetDist_Pure_Price], [Measures].[RetDist_Pure_Count], [Measures].[FactorSettled_Count], [Measures].[DuringTheVerification_Price], [Measures].[FactorSettled_Price], [Measures].[ForwardPlanning_Price], [Measures].[ForwardPlanning_Count] }
  ON COLUMNS, 
  NON EMPTY {

  {[Dim Sale Office].[Zone Key].[Zone Key].ALLMEMBERS }* 
  {[Dim Sale Office].[Office Key].[All]} * 
  {[Dim Dist Branch].[Dist Branch Key].[All]}, 

  {[Dim Sale Office].[Zone Key].[All]} * 
  {[Dim Sale Office].[Office Key].[All]} * 
  {[Dim Dist Branch].[Dist Branch Key].[All]}, 

  {[Dim Sale Office].[Zone Key].[Zone Key].ALLMEMBERS} * 
  {[Dim Sale Office].[Office Key].[Office Key].ALLMEMBERS} * 
  {[Dim Dist Branch].[Dist Branch Key].[All]}, 

  {[Dim Sale Office].[Zone Key].[All]} * 
  {[Dim Sale Office].[Office Key].[All]} * 
  {[Dim Dist Branch].[Dist Branch Key].[Dist Branch Key].ALLMEMBERS}, 

  {[Dim Sale Office].[Zone Key].[Zone Key].ALLMEMBERS} * 
  {[Dim Sale Office].[Office Key].[Office Key].ALLMEMBERS} * 
  {[Dim Dist Branch].[Dist Branch Key].[Dist Branch Key].ALLMEMBERS }

   } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS 
   FROM ( SELECT ( STRTOSET(@DimSaleOfficeZoneKey, CONSTRAINED) ) ON COLUMNS 
   FROM ( SELECT ( STRTOSET(@DimDateDay, CONSTRAINED) ) ON COLUMNS 
   FROM ( SELECT ( STRTOSET(@DimDateMonth, CONSTRAINED) ) ON COLUMNS FROM ( SELECT ( STRTOSET(@DimDateYear, CONSTRAINED) ) ON COLUMNS FROM [Cube_SaleEstimateDashboard])))) WHERE ( IIF( STRTOSET(@DimDateYear, CONSTRAINED).Count = 1, STRTOSET(@DimDateYear, CONSTRAINED), 
   [Dim Date].[Year].currentmember ), 
   IIF( STRTOSET(@DimDateMonth, CONSTRAINED).Count = 1, STRTOSET(@DimDateMonth, CONSTRAINED), 
   [Dim Date].[Month].currentmember ), 
   IIF( STRTOSET(@DimDateDay, CONSTRAINED).Count = 1, STRTOSET(@DimDateDay, CONSTRAINED), 
   [Dim Date].[Day].currentmember ) ) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
如您所见,此查询有4个参数(年、月、日、区域) 这对我很管用

但在我安装2008年service pack 2之后

如果我为参数选择一个区域,它会给我错误:

“MDx函数失败,因为“区域键”属性的坐标包含一个集合”

它适用于(所有)或参数区域的多选值。 但如果我只选择一个区域作为参数,它会给我错误 为什么?
还有一件事,如果我从Axis中删除Non-Empty,错误消息将消失

请尝试从所有
stroset
公式中删除
约束
。当我将SSRS解决方案升级到VS2012时,我遇到了类似的问题。我认为这与加强针对不合格成员名称的证券有关