I'm scratching my head over some MDX that I'm trying to use in an activeform. If I copy the MDX string and paste it into the subset editor I get the expected results, but using it in an activeform leaves project codes that should be excluded.
Here's the (fairly long) MXD statement built from a series of subn's etc:
Code: Select all
{FILTER({TM1FILTERBYLEVEL( {TM1SUBSETALL( [Project] )}, 0)},[Project Rep].([Version].[Day 3],[Fin Year].[2016],[Period].[Jul],[Company].[AINZL],[Branch].[010],[Currency].[NZD],[ProjectRep Measure].[PMR Required])= 1 AND INSTR( [Project Rep].([Version].[Day 3],[Fin Year].[2016],[Period].[Jul],[Company].[AINZL],[Branch].[010],[Currency].[NZD],[ProjectRep Measure].[PMR Status]), "Excuse")= 0 )}
Note all the jobs with the PRM required flag are listed, so it seems like the INSTR test is being applied, but giving the wrong result. And yes, I realise this is an undocumented "feature", but I'm not sure if there's an alternate way to do this?
Any clues as to the different behaviour?
Mike