Hello @all,
my task it to parse an MDX script, which defines calculated member in OLAP, using regular expressions. I need to extract following properties of the calc. measure: name, expression, visibility, display folder, associated measure group. Here is a general format of that script:
CREATE MEMBER CURRENTCUBE.[MEASURES].[<name>]
AS <expression>,
VISIBLE = <visibility> ,
DISPLAY_FOLDER = <displayFolder> ,
ASSOCIATED_MEASURE_GROUP = <assoc. measure group> ;
I'm a newbi in the regular expressions, and I have massive problems to create corresponding expression. Can anyone help me? What I need is a match expression which returns required values as groups, and those groups I will save later into database.
Thanks in advance,
regards from Hamburg,
Andrey