ALTER CUBE CurrentCube
UPDATE DIMENSION [dim_type].[type]
, DEFAULT_MEMBER = [dim_type].[type].&[1];
이 블로그 검색
2011년 6월 26일 일요일
Percentage over all dimension and axis
계산된 측정값 (모든 차원에 대한 비율)
CREATE MEMBER CURRENTCUBE.[MEASURES].[Sells %]
AS iif(
([Measures].[Sells],
Axis(0).Item(0).item(Axis(0).item(0).count-1).Dimension.currentmember.Parent)=0,
null,
[Measures].[Sells]/
([Measures].[Sells],Axis(0).Item(0).item(Axis(0).item(0).count-1).Dimension.currentmember.Parent) ),
FORMAT_STRING = "Percent",
VISIBLE = 1 ;
CREATE MEMBER CURRENTCUBE.[MEASURES].[Sells %]
AS iif(
([Measures].[Sells],
Axis(0).Item(0).item(Axis(0).item(0).count-1).Dimension.currentmember.Parent)=0,
null,
[Measures].[Sells]/
([Measures].[Sells],Axis(0).Item(0).item(Axis(0).item(0).count-1).Dimension.currentmember.Parent) ),
FORMAT_STRING = "Percent",
VISIBLE = 1 ;
2011년 6월 22일 수요일
SSIS "VS_NEEDSNEWMETADATA" 에러
데이터원본테이블을 동적으로 바라보도록 패키지를 구성할 경우
(테이블명 변수 , expression 사용 등)
동적으로 변하는 데이터원본의 메타정보가 일치하지 않을경우 아래와같은 에러메세지를 띄우는데
failed validation and returned validation status "VS_NEEDSNEWMETADATA"
데이터원본의 데이터 타입, 컬럼순서 등을 체크한다.
(테이블명 변수 , expression 사용 등)
동적으로 변하는 데이터원본의 메타정보가 일치하지 않을경우 아래와같은 에러메세지를 띄우는데
failed validation and returned validation status "VS_NEEDSNEWMETADATA"
데이터원본의 데이터 타입, 컬럼순서 등을 체크한다.
피드 구독하기:
글 (Atom)