Hello expert,Can you please help me?I have created the c# project VFE_AS_Functions to build the Like function to be used in MDX query and deployed the assembly under the assemblies folder of cube but I’m getting issue while accessing the query using Link server:1) It displays result when we call this function under MDX query only [code="sql"]WITH set BradSet as [Shop].[Shop Model].[Brand].&[Brand1]SELECT { [Measures].[Stores2 Sales Quantity] } ON COLUMNS, NonEmpty(BradSet) ON ROWSFROM Cube1WHERE ( VFE_AS_Functions.Like( NonEmpty([Articles].[A1].[A1], (StrToMember("[Shop].[Shop Model].[Brand].&[Brand1]"), [Measures].[Sales Quantity])), "%", [Articles].[A1].CURRENTMEMBER.MEMBER_CAPTION ) )[/code]2) But gives error while accesing query using Link server.[code="sql"]SELECT * from OPENQUERY(LinkServerName, 'WITH set BradSet as [Shop].[Shop Model].[Brand].&[Brand1]SELECT { [Measures].[Stores2 Sales Quantity] } ON COLUMNS, NonEmpty(BradSet) ON ROWSFROM Cube1WHERE ( VFE_AS_Functions.Like( NonEmpty([Articles].[A1].[A1], (StrToMember("[Shop].[Shop Model].[Brand].&[Brand1]"), [Measures].[Sales Quantity])), "%", [Articles].[A1].CURRENTMEMBER.MEMBER_CAPTION ) )') [/code]I think this assembly information should be included in OLAP Link server... please help me... how to fix this issue.
↧